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