def clean(self):
        """Verified value is derived from whether user has a verification hash"""
        result = super(User, self).clean()
        result['verified'] = 'verification_hash' not in self._resource
        return result
def clean ( self ) : result = super ( User , self ) . clean ( ) result [ 'verified' ] = 'verification_hash' not in self . _resource return result
Verified value is derived from whether user has a verification hash