def METHOD_NAME(obj, title):
    if not obj:
        return 'no {}'.format(title)
    members = []
    for name, value in obj.items():
        if value == '':
            members.append(name)
        else:
            members.append('{}={}'.format(name, value))
    return '{}: {}'.format(title, ', '.join(members))