public function isMarked($marker)
	{
		if(empty($this->markers))
		{
			return false;
		}
		
		if($marker instanceof \ReflectionClass)
		{
			foreach($this->markers as $check)
			{
				if($marker->isInstance($check))
				{
					return true;
				}
			}
		}
		elseif($marker instanceof Marker)
		{
			foreach($this->markers as $check)
			{
				if($marker->isInstance($check))
				{
					return true;
				}
			}
		}
		else
		{
			foreach($this->markers as $check)
			{
				if($check instanceof $marker)
				{
					return true;
				}
			}
		}
		
		return false;
	}
public function isMarked($marker)
	{
		if(empty($this->markers))
		{
			return false;
		}
		
		if($marker instanceof \ReflectionClass)
		{
			foreach($this->markers as $check)
			{
				if($marker->isInstance($check))
				{
					return true;
				}
			}
		}
		elseif($marker instanceof Marker)
		{
			foreach($this->markers as $check)
			{
				if($marker->isInstance($check))
				{
					return true;
				}
			}
		}
		else
		{
			foreach($this->markers as $check)
			{
				if($check instanceof $marker)
				{
					return true;
				}
			}
		}
		
		return false;
	}
public function isMarked ( $ marker ) { if ( empty ( $ this -> markers ) ) { return false ; } if ( $ marker instanceof \ ReflectionClass ) { foreach ( $ this -> markers as $ check ) { if ( $ marker -> isInstance ( $ check ) ) { return true ; } } } elseif ( $ marker instanceof Marker ) { foreach ( $ this -> markers as $ check ) { if ( $ marker -> isInstance ( $ check ) ) { return true ; } } } else { foreach ( $ this -> markers as $ check ) { if ( $ check instanceof $ marker ) { return true ; } } } return false ; }
Check if the binding has a marker of the given type.

@param mixed $marker Marker instance, reflection class or fully-qualified name of the marker.
@return boolean
Check if the binding has a marker of the given type .