def path_has(self, **kwargs):
str_node    = "<STR_LIT:/>" <EOL>for key, val in kwargs.items():<EOL><INDENT>if key == '<STR_LIT>':   str_node = val<EOL><DEDENT>if str_node in self.l_cwd:<EOL><INDENT>return { '<STR_LIT>':   True,<EOL>'<STR_LIT>': [i for i, x in enumerate(self.l_cwd) if x == str_node]}<EOL><DEDENT>else:<EOL><INDENT>return { '<STR_LIT>':   False,<EOL>'<STR_LIT>': [-<NUM_LIT:1>]}<EOL><DEDENT>
Checks if the current path has a node spec'd by kwargs