code: def is_expansive(agg_type: AggregationType) -> bool:
      """Expansive ≝ Op( X ∪ Y ∪ ...) = Op( Op(X) ∪ Op(Y) ∪ ...).
  
      NOTE: COUNT is only expansive because it's transformed into a SUM agg during model transformation
      """
      return agg_type in (
          AggregationType.SUM,
          AggregationType.MIN,
          AggregationType.MAX,
          AggregationType.SUM_BOOLEAN,
          AggregationType.COUNT,
      )
  
file_path: metricflow/metricflow/aggregation_properties.py
imports: from __future__ import annotations
  from enum import Enum
  from dbt_semantic_interfaces.enum_extension import assert_values_exhausted
  from dbt_semantic_interfaces.type_enums.aggregation_type import AggregationType
label_desc: Use image node_id 1 for calling a global function with example usage: is_expansive(agg_type) and returns: unknown