def METHOD_NAME(subscriber_obj, list_id, name, email, custom_data):
    # check if this user has already subscribed, if not, subscribe it
    try:
        subscriber = subscriber_obj.get(list_id, email)
        if str(subscriber.State).lower() == 'active':
            print(name, email, ' - UPDATED')
            subscriber = subscriber_obj.update(email, name, custom_data, True)
    except BadRequest as br:
        print(br)
        try:
            subscriber_obj.add(list_id, email, name, custom_data, True)  # Returns email_address
            if verbosity >=2:
                print("%s (%s)" % (name, email))
        except BadRequest as br:
            print(name, email, ' - NOT ADDED: %s' % br)