def path_is_ignored(self, path):
try:<EOL><INDENT>self.run('<STR_LIT>', '<STR_LIT>', path)<EOL><DEDENT>except CommandError as e:<EOL><INDENT>if e.retcode == <NUM_LIT:1>:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>raise e<EOL><DEDENT><DEDENT>return True<EOL>
Given a path, check if the path would be ignored.

        Returns:
            boolean