code: def gym_budget_modifier(budgets):
      if os.environ.get("MAX_GYM_BUDGET") is not None:
          budget_string = os.environ.get("MAX_GYM_BUDGET")
          budgets = [b for b in budgets if b < int(budget_string)]  # type: ignore
      print("budgets=", budgets)
      return budgets
  
imports: import os
  import typing
  from nevergrad.functions import gym
  from .xpbase import registry
  from .xpbase import create_seed_generator
  from .xpbase import Experiment
  from .optgroups import get_optimizers
label_desc: Use image node_id 3 for calling a global function with example usage: gym_budget_modifier(budgets) and returns: budgets