code: def filter_groupby_matches_by_options(groupby_matches, options):
      return filter_matches_by_options(
          [(groupby_match,) for groupby_match in groupby_matches],
          options,
          groupby=True,
      )
  
file_path: featuretools/featuretools/primitives/options_utils.py
imports: import logging
  import warnings
  from itertools import permutations
  from featuretools import primitives
  from featuretools.feature_base import IdentityFeature
label_desc: Use image node_id 9 for calling a global function with example usage: filter_groupby_matches_by_options(groupby_matches, options) and returns: filter_matches_by_options