def update(account, collection):
    allowed = not account.is_anonymous() and collection["owner"] == account.id
    if not account.is_anonymous():
        try:
            if collection['_admins'] in account.id:
                allowed = True
        except:
            pass
        if account.id in config['super_user']:
            allowed = True
    return allowed
dataset/ETHPy150Open okfn/bibserver/bibserver/auth/collection.py/update/swapped operands of `in`