public function isFile($path)
    {
        $node = $this->at($path);
        return null !== $node && 'file' === $node->type;
    }
public function isFile($path)
    {
        $node = $this->at($path);
        return null !== $node && 'file' === $node->type;
    }
public function isFile ( $ path ) { $ node = $ this -> at ( $ path ) ; return null !== $ node && 'file' === $ node -> type ; }
Equivalent to PHP `is_file` function.

@param  string  $path
@return boolean
Equivalent to PHP is_file function .