code: def return_to_base_policy(board, ship):
      shipyard_position = nearest_shipyard_position(board, ship)
  
      ship.next_action = head_to(
          board, ship.position, shipyard_position, ignore_teammates=True
      )
  
file_path: PARL/examples/Baselines/Halite_competition/paddle/rl_trainer/policy.py
imports: from zerosum_env.envs.halite.helpers import *
  from .utils import *
label_desc: Use image node_id 4 for calling a global function with example usage: return_to_base_policy(board, ship) without return types