public function valid() {
    if (isset($this->resources[$this->position])) {
      return true;
    }
    $this->preloadPage();
    return isset($this->resources[$this->position]);
  }
public function valid() {
    if (isset($this->resources[$this->position])) {
      return true;
    }
    $this->preloadPage();
    return isset($this->resources[$this->position]);
  }
public function valid ( ) { if ( isset ( $ this -> resources [ $ this -> position ] ) ) { return true ; } $ this -> preloadPage ( ) ; return isset ( $ this -> resources [ $ this -> position ] ) ; }
Returns a boolean indicating if there is a resource
at the current position in the dataset

@return boolean
Returns a boolean indicating if there is a resource at the current position in the dataset