def METHOD_NAME(module, params):
    name = params['name']
    existing = get_publishers(module)
    if name in existing:
        for option in ['origin', 'mirror', 'sticky', 'enabled']:
            if params[option] is not None:
                if params[option] != existing[name][option]:
                    return set_publisher(module, params)
    else:
        return set_publisher(module, params)
    module.exit_json()