code: def is_stateful_transform(component):
      """Determines if formulae call component is a stateful transformation"""
      return component.call.stateful_transform is not None
  
file_path: bambi/bambi/utils.py
imports: from typing import Sequence
  import ast
  import textwrap
  import formulae
  import numpy
  from bambi.transformations import HSGP
label_desc: Use image node_id 11 for calling a global function with example usage: is_stateful_transform(component) and returns: unknown