code: def get_actions(actions):
      
      new_actions = []
      if actions:
          for action in actions:
              action_obj = get_action(action)
              if action_obj:
                  new_actions.append(action_obj)
  
      return new_actions
docs: Get actions.