(self, active_only=False)
Return a list of action types applied to the object.

        :param active_only: If True, only return active Actions.
                            If False, return all Actions.
        :type active_only: boolean
        :returns: bool
Return a list of action types applied to the object.
Return a list of action types applied to the object .
def get_action_types(self, active_only=False):
        """
        Return a list of action types applied to the object.

        :param active_only: If True, only return active Actions.
                            If False, return all Actions.
        :type active_only: boolean
        :returns: bool
        """

        if active_only:
            return [a['action_type'] for a in self._data['actions']
                                         if a['active'] == 'on']
        else:
            return [a['action_type'] for a in self._data['actions']]
def get_action_types ( self , active_only = False ) : if active_only : return [ a [ 'action_type' ] for a in self . _data [ 'actions' ] if a [ 'active' ] == 'on' ] else : return [ a [ 'action_type' ] for a in self . _data [ 'actions' ] ]