code: def should_use_scale_for_grouping(scale):
      return (
          scale.aesthetic_name not in excluded_from_grouping
      ) and scale.is_discrete()
  
file_path: hail/hail/python/hail/ggplot/utils.py
imports: import plotly
  import hail
label_desc: Use image node_id 7 for calling a global function with example usage: should_use_scale_for_grouping(scale) and returns: unknown