'Option representation'

@staticmethod
def hfa_opts_represent(opt):

    if (not opt):
        return current.messages['NONE']
    if isinstance(opt, int):
        opts = [opt]
    elif (not isinstance(opt, (list, tuple))):
        return current.messages['NONE']
    else:
        opts = opt
    if (opts[0] is None):
        return current.messages['NONE']
    vals = [('HFA    %s' % o) for o in opts]
    return ',    '.join(vals)
