code: def zinc_molecule_filter(mol):
      """
      Flag molecules based on problematic functional groups as
      provided set of ZINC rules from
      http://blaster.docking.org/filtering/rules_default.txt.
  
      Args:
          mol: Rdkit mol object
  
      :rtype:
          :class:`bool`, returns True if molecule is okay (ie does not match any of
          therules), False if otherwise.
      """
      params = FilterCatalogParams()
      params.AddCatalog(FilterCatalogParams.FilterCatalogs.ZINC)
      catalog = FilterCatalog(params)
      return not catalog.HasMatch(mol)
  
file_path: DIG/dig/ggraph/utils/environment.py
imports: import copy
  import itertools
  import networkx
  from rdkit import Chem, DataStructs
  from rdkit.Chem import AllChem, rdMolDescriptors
  from rdkit.Chem.Descriptors import MolLogP, qed
  from rdkit.Chem.FilterCatalog import FilterCatalogParams, FilterCatalog
  from .sascorer import calculateScore
label_desc: Use image node_id 7 for calling a global function with example usage: zinc_molecule_filter(mol) and returns: unknown