code: def _ParseFilterOptions(self, options):
      
      names = ['artifact_filters', 'date_filters', 'filter_file']
      helpers_manager.ArgumentHelperManager.ParseOptions(
          options, self, names=names)
  
      extensions_string = self.ParseStringOption(options, 'extensions_string')
      self._ParseExtensionsString(extensions_string)
  
      names_string = getattr(options, 'names_string', None)
      self._ParseNamesString(names_string)
  
      signature_identifiers = getattr(options, 'signature_identifiers', None)
      try:
        self._ParseSignatureIdentifiers(
            self._data_location, signature_identifiers)
      except (IOError, ValueError) as exception:
        raise errors.BadConfigOption(exception)
  
      if self._artifact_filters or self._filter_file:
        self.has_filters = True
      else:
        self.has_filters = self._filter_collection.HasFilters()
docs: Parses the filter options.
  
      Args:
        options (argparse.Namespace): command line arguments.
  
      Raises:
        BadConfigOption: if the options are invalid.