Return True iff path should be ignored.

def _should_ignore(self, path):
        """
        Return True iff path should be ignored.
        """
        for ignore in self.options.ignores:
            if fnmatch.fnmatch(path, ignore):
                return True
        return False