def __contains__(self, field_name):
        return (field_name in self.required or
                field_name in self.optional)
Was this field in the request?
dataset/ETHPy150Open CollabQ/CollabQ/openid/extensions/sreg.py/SRegRequest.__contains__