def can_run_from_cli(self):
ret = False<EOL>ast_tree = ast.parse(self.body, self.path)<EOL>calls = self._find_calls(ast_tree, __name__, "<STR_LIT>")<EOL>for call in calls:<EOL><INDENT>if re.search("<STR_LIT>".format(re.escape(call)), self.body):<EOL><INDENT>ret = True<EOL>break<EOL><DEDENT><DEDENT>return ret<EOL>
return True if this script can be run from the command line