code: def is_filtered(self, relpath):
          
          # Only include files under the parent_dir
          if relpath.startswith("../"):
              return True
  
          # Ignore files that we don't want timestamps from
          if self.timestamps_for is not None and type(self.timestamps_for) is list:
              match = False
              for line in self.timestamps_for:
                  if fnmatch.fnmatch(relpath, line):
                      match = True
                      break
              if not match:
                  return True
  
          # Matched is true by default if
          # * Have exclude
          # * No exclude and no include
          matched = self.exclude or not any([self.exclude, self.include])
  
          # Anything not matching exclude gets included
          if self.exclude:
              for line in self.exclude:
                  if fnmatch.fnmatch(relpath, line):
                      matched = False
  
          # Anything matching include gets included
          if self.include:
              for line in self.include:
                  if fnmatch.fnmatch(relpath, line):
                      matched = True
                      break
  
          return not matched
docs: Say whether this relpath is filtered out