def METHOD_NAME(self, effective_permissions):
    """return all actions from a statement"""
    actions = []
    if "Action" in effective_permissions:
        if isinstance(effective_permissions.get("Action"), str):
            actions.append(effective_permissions.get("Action"))
        elif isinstance(effective_permissions.get("Action"), list):
            actions.extend(effective_permissions.get("Action"))
    if "NotAction" in effective_permissions:
        if isinstance(effective_permissions.get("NotAction"), str):
            actions.append(effective_permissions.get("NotAction"))
        elif isinstance(effective_permissions.get("Action"), list):
            actions.extend(effective_permissions.get("NotAction"))
    return actions