original_string: function is_dir($path) {
  
          // be sure path is utf-8
          $item = $this->gpi($path);
  
          if ($item === false) {
              return false;
          } else {
              return ($item['resourcetype'] == 'collection');
          }
      }
code: function is_dir($path) {
  
          // be sure path is utf-8
          $item = $this->gpi($path);
  
          if ($item === false) {
              return false;
          } else {
              return ($item['resourcetype'] == 'collection');
          }
      }
code_tokens: function is_dir ( $ path ) { // be sure path is utf-8 $ item = $ this -> gpi ( $ path ) ; if ( $ item === false ) { return false ; } else { return ( $ item [ 'resourcetype' ] == 'collection' ) ; } }
docstring: Public method is_dir
  
  Gather whether a path points to a directory
  @param string path
  return bool true or false
docstring_tokens: Public method is_dir