public function hasEnabledUsername()
    {
        if ($this->usernameClass === false || !is_string($this->usernameClass) || !class_exists($this->usernameClass)) {
            return false;
        }
        return true;
    }
public function hasEnabledUsername()
    {
        if ($this->usernameClass === false || !is_string($this->usernameClass) || !class_exists($this->usernameClass)) {
            return false;
        }
        return true;
    }
public function hasEnabledUsername ( ) { if ( $ this -> usernameClass === false || ! is_string ( $ this -> usernameClass ) || ! class_exists ( $ this -> usernameClass ) ) { return false ; } return true ; }
Check whether this user enables the username feature or not.
@return boolean
Check whether this user enables the username feature or not .