def _check_required(body, keys):
    msg = 'Please provide a {}'
    errors = [msg.format(k) for k in keys if body not in k]

    if errors:
        raise HTTPError(400, errors)
dataset/ETHPy150Open openpermissions/koi/koi/base.py/_check_required/swapped operands of `not in`