src/Sulu/Bundle/SecurityBundle/UserManager/UserManager.php
public function isEmailUnique($email)
    {
        if ($email) {
            try {
                $this->userRepository->findUserByEmail($email);
            } catch (NoResultException $exc) {
                return true;
            }
        }

        return false;
    }
public function isEmailUnique($email)
    {
        if ($email) {
            try {
                $this->userRepository->findUserByEmail($email);
            } catch (NoResultException $exc) {
                return true;
            }
        }

        return false;
    }
public function isEmailUnique ( $ email ) { if ( $ email ) { try { $ this -> userRepository -> findUserByEmail ( $ email ) ; } catch ( NoResultException $ exc ) { return true ; } } return false ; }
Checks if an email-adress is unique
Null and empty will always return false.

@param string $email

@return bool
Checks if an email - adress is unique Null and empty will always return false .