code: def optimizer_pass(condition):
      def decorator(function):
          function._condition = condition
          return function
  
      return decorator
  
imports: import importlib
  import inspect
  import os
  from hls4ml.utils.string_utils import convert_to_snake_case
label_desc: Use image node_id 1 for calling a global function with example usage: optimizer_pass(condition) and returns: decorator, function