'Check for a duplicate email and raise if found.
:raises exceptions.Conflict: if any are found'

def _error_on_duplicate_email(self, email):

    if (self.by_email(email) is not None):
        raise exceptions.Conflict('Email    must    be    unique', email=email)
