code: def Matches(self, file_entry):
      
      if not self._names or not file_entry.IsFile():
        return False
  
      return file_entry.name.lower() in self._names
docs: Compares the file entry against the filter.
  
      Args:
        file_entry (dfvfs.FileEntry): file entry to compare.
  
      Returns:
        bool: True if the file entry matches the filter.