code: def control_cost(self, action):
      control_cost = self._ctrl_cost_weight * np.sum(np.square(action))
      return control_cost
  
file_path: gym/gym/envs/mujoco/swimmer_v3.py
imports: import numpy
  from gym import utils
  from gym.envs.mujoco import MuJocoPyEnv
  from gym.spaces import Box
label_desc: Use image node_id 2 for calling the SwimmerEnv obj's underlying member method code with example usage: obj.control_cost(action) and returns: control_cost