def METHOD_NAME(self, scope: str, actions: Dict) -> Dict:
    """type conversion of an action dict.
    utility to be used in the by functions like get_selfservice_actions
    to make the code better readable
    :param scope: the scope of the action in the policy definition
    :param actions: dict with actions
    :return: dict with all action and their converted values
    """
    all_actions = {}
    for action_name, action_value in actions.items():
        action_value = self.convert(scope, action_name, action_value)
        all_actions[action_name] = action_value
    return all_actions