public function valid()
	{
		// Check the current position.
		if (!is_scalar($this->current) || !isset($this->objects[$this->current]))
		{
			return false;
		}

		return true;
	}
public function valid()
	{
		// Check the current position.
		if (!is_scalar($this->current) || !isset($this->objects[$this->current]))
		{
			return false;
		}

		return true;
	}
public function valid ( ) { // Check the current position. if ( ! is_scalar ( $ this -> current ) || ! isset ( $ this -> objects [ $ this -> current ] ) ) { return false ; } return true ; }
Validates the iterator.

@return  boolean  True if valid, false otherwise.

@since   1.0
Validates the iterator .