public function containsOneOf(array $types)
	{
		foreach($this->tokens as $token)
		{
			if($token->isOneOf($types))
			{
				return true;
			}
		}
		
		return false;
	}
public function containsOneOf(array $types)
	{
		foreach($this->tokens as $token)
		{
			if($token->isOneOf($types))
			{
				return true;
			}
		}
		
		return false;
	}
public function containsOneOf ( array $ types ) { foreach ( $ this -> tokens as $ token ) { if ( $ token -> isOneOf ( $ types ) ) { return true ; } } return false ; }
Check if the sequence contains at least one token of any of the given token types.

@param array<integer> $types
@return boolean
Check if the sequence contains at least one token of any of the given token types .