def _is_live_action_part_of_workflow_action(self, live_action_db):
        """
        Retrieve parent info from context of the live action.

        :rtype: ``dict``
        """
        context = getattr(live_action_db, "context", {})
        parent = context.get("parent", {})
        is_wf_action = parent is not None and parent != {}

        return is_wf_action

        Retrieve parent info from context of the live action.

        :rtype: ``dict``
        
st2actions/st2actions/policies/retry.py