'Return when value is empty or null'

def validate_empty(self):

    if self.required:
        self.validation_error = 'Required    field    %s.    Cannot    be    null    or    empty'
        return False
    else:
        return True
