code: def __skip_this(self, level):
          
          skip = False
          if self.exclude_paths and level.path() in self.exclude_paths:
              skip = True
          elif self.exclude_regex_paths and any(
                  [exclude_regex_path.search(level.path()) for exclude_regex_path in self.exclude_regex_paths]):
              skip = True
          else:
              if self.exclude_types_tuple and (isinstance(level.t1, self.exclude_types_tuple) or
                                               isinstance(level.t2, self.exclude_types_tuple)):
                  skip = True
  
          return skip
docs: Check whether this comparison should be skipped because one of the objects to compare meets exclusion criteria.
          :rtype: bool