def METHOD_NAME(key=None, ret='all'):
    """
    returns a subtree of the token definition
    :param key: subsection identifier
    :type key: string
    :param ret: default return value, if nothing is found
    :type ret: user defined
    :return: subsection if key exists or user defined
    :rtype: dict or scalar
    """
    res = {'type': 'paper',
           'title': 'Paper Token',
           'description': 'PPR: One Time Passwords printed on a sheet '
                          'of paper.',
           'init': {},
           'config': {},
           'user':  ['enroll'],
           # This tokentype is enrollable in the UI for...
           'ui_enroll': ["admin", "user"],
           'policy': {
               SCOPE.ENROLL: {
                   PAPERACTION.PAPERTOKEN_COUNT: {
                       "type": "int",
                       "desc": _("The number of OTP values, which are "
                                 "printed on the paper.")
                   },
                   ACTION.MAXTOKENUSER: {
                       'type': 'int',
                       'desc': _("The user may only have this maximum number of paper tokens assigned."),
                       'group': GROUP.TOKEN
                   },
                   ACTION.MAXACTIVETOKENUSER: {
                       'type': 'int',
                       'desc': _("The user may only have this maximum number of active paper tokens assigned."),
                       'group': GROUP.TOKEN
                   }
               }
           }
           }
    if key:
        ret = res.get(key, {})
    else:
        if ret == 'all':
            ret = res
    return ret