private function hasEmail()
    {
        $email = $this->_scopeConfig->getValue('payment/pagseguro/email');

        // check for a e-mail
        if (!isset($email))
            return false;

        // check is the e-mail is valid
        if ($this->isValidEmail($email))
            return true;
        return false;
    }
private function hasEmail()
    {
        $email = $this->_scopeConfig->getValue('payment/pagseguro/email');

        // check for a e-mail
        if (!isset($email))
            return false;

        // check is the e-mail is valid
        if ($this->isValidEmail($email))
            return true;
        return false;
    }
private function hasEmail ( ) { $ email = $ this -> _scopeConfig -> getValue ( 'payment/pagseguro/email' ) ; // check for a e-mail if ( ! isset ( $ email ) ) return false ; // check is the e-mail is valid if ( $ this -> isValidEmail ( $ email ) ) return true ; return false ; }
Check if has a valid e-mail

@return bool
Check if has a valid e - mail