original_string: function is_file($path) {
  
          $item = $this->gpi($path);
  
          if ($item === false) {
              return false;
          } else {
              return ($item['resourcetype'] != 'collection');
          }
      }
code: function is_file($path) {
  
          $item = $this->gpi($path);
  
          if ($item === false) {
              return false;
          } else {
              return ($item['resourcetype'] != 'collection');
          }
      }
code_tokens: function is_file ( $ path ) { $ item = $ this -> gpi ( $ path ) ; if ( $ item === false ) { return false ; } else { return ( $ item [ 'resourcetype' ] != 'collection' ) ; } }
docstring: Public method is_file
  
  Gathers whether a path points to a file or not.
  
  @param string path
  @return bool true or false
docstring_tokens: Public method is_file