valid() public method

Check if an object exists at the current position.
public valid ( ) : boolean
return boolean True if object exists
 public function valid()
 {
     return $this->elasticaResultSet->valid();
 }