code: def overwrite_pos(env, p_red_pos, p_blue_pos, c_red_pos, c_blue_pos):
      assert c_red_pos is None or c_blue_pos is None
      if c_red_pos is None:
          env.red_coin = 0
          coin_pos = c_blue_pos
      if c_blue_pos is None:
          env.red_coin = 1
          coin_pos = c_red_pos
  
      env.red_pos = p_red_pos
      env.blue_pos = p_blue_pos
      env.coin_pos = coin_pos
  
      env.red_pos = np.array(env.red_pos)
      env.blue_pos = np.array(env.blue_pos)
      env.coin_pos = np.array(env.coin_pos)
      env.red_coin = np.array(env.red_coin)
  
imports: import random
  import numpy
  from ray.rllib.examples.env.coin_game_non_vectorized_env import CoinGame, AsymCoinGame
label_desc: Use image node_id 9 for calling a global function with example usage: overwrite_pos(env, p_red_pos, p_blue_pos, c_red_pos, c_blue_pos) without return types