mozilla-services/cornice — comment on commit e6daf7015bb64940fcc87ddb0280f8ac71dc4258
File: cornice/schemas.py line 48
By vincentfretin:

There is not need to use getattr(attr, 'required', False) here. required is a property and always exists, so you can simply use attr.required