src/DataContainer.php
protected function isWhitelisted($object)
	{
		foreach ($this->whitelist as $whitelisted)
		{
			if ($object instanceof $whitelisted)
			{
				return true;
			}
		}

		return false;
	}
protected function isWhitelisted($object)
	{
		foreach ($this->whitelist as $whitelisted)
		{
			if ($object instanceof $whitelisted)
			{
				return true;
			}
		}

		return false;
	}
protected function isWhitelisted ( $ object ) { foreach ( $ this -> whitelist as $ whitelisted ) { if ( $ object instanceof $ whitelisted ) { return true ; } } return false ; }
Checks if an object is whitelisted

@param object $object

@return boolean
Checks if an object is whitelisted