public function valid()
	{
		$valid = false;

		if ($this->rows && $this->count())
		{
			$key   = key($this->rows);
			$valid = ($key !== null && $key !== false);
		}

		return $valid;
	}
public function valid()
	{
		$valid = false;

		if ($this->rows && $this->count())
		{
			$key   = key($this->rows);
			$valid = ($key !== null && $key !== false);
		}

		return $valid;
	}
public function valid ( ) { $ valid = false ; if ( $ this -> rows && $ this -> count ( ) ) { $ key = key ( $ this -> rows ) ; $ valid = ( $ key !== null && $ key !== false ) ; } return $ valid ; }
Validates current key

@return  bool
@since   2.0.0
Validates current key