@classmethod
def _render_options(cls, options: dict, input_type: str, default: str,
    render_options: bool) ->str:
    """
        Returns a string to present to the user specifying the available
        options. 'options' must be normalized.
        """
    render = ''
    if render_options:
        if options and input_type in [cls.STR, cls.BOOL]:
            if input_type == cls.BOOL:
                if len(options) >= 2:
                    render += ' (%s/%s)' % (options['1'], options['2'])
                if default:
                    render += ' \\[%s\\]' % default
            else:
                render += ' default: %s\n' % default if default else '\n'
                for item, value in options.items():
                    render += '  %s) %s\n' % (item, value)
    return render
