code: def _direction_name(is_forward, relationship):
      if is_forward:
          return relationship.parent_name
      else:
          return relationship.child_name
  
label_desc: Use image node_id 1 for calling a global function with example usage: _direction_name(is_forward, relationship) and returns: relationship, relationship