public function isClassSafeForInstantiation ($className)
	{
		$className = strtolower ($className);

		// does it have namespaces?
		if (FALSE !== strpos ($className, '\\'))
		{
			return false;
		}
		if ($className === 'parent')
		{
			return true;
		}
		// check if it's in the black list
		if (in_array ($className, $this->unsafeForInstantiation))
		{
			return false;
		}
		// check if it's a php native class
		elseif (in_array ($className, array_map ('strtolower', get_declared_classes())))
		{
			return true;
		}

		return false;
	}