def isfile(self, str_path):
b_isFile            = False<EOL>if self.isdir(str_path):<EOL><INDENT>b_isFile        = False<EOL><DEDENT>else:<EOL><INDENT>str_parentDir   = '<STR_LIT:/>'.join(str_path.split('<STR_LIT:/>')[<NUM_LIT:0>:-<NUM_LIT:1>])<EOL>str_fileName    = str_path.split('<STR_LIT:/>')[-<NUM_LIT:1>]<EOL>if self.cd(str_parentDir)['<STR_LIT:status>']:<EOL><INDENT>l_files = self.lsf(str_parentDir)<EOL>if any(str_fileName in f for f in l_files):<EOL><INDENT>b_isFile    = True<EOL><DEDENT><DEDENT><DEDENT>return b_isFile<EOL>
A convenience function, returns bool if <str_path> is
a "file" in the tree space