code: def generate_name(ability):
      return (
          ability.friendly_name
          or ability.button_name
          or ability.link_name
      )
  
file_path: pysc2/pysc2/bin/gen_actions.py
imports: import itertools
  from absl import app
  from absl import flags
  from pysc2 import maps
  from pysc2 import run_configs
  from pysc2.lib import static_data
  from s2clientprotocol import common_pb2
  from s2clientprotocol import data_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 2 for calling a global function with example usage: generate_name(ability) and returns: unknown