public function isValid($email)
    {
        if (false === $email = filter_var($email, FILTER_VALIDATE_EMAIL)) {
            return false;
        }

        try {
            list($local, $domain) = Utilities::parseEmailAddress($email);
        } catch (InvalidEmailException $e) {
            return false;
        }

        return !$this->adapter->isThrowawayDomain($domain);
    }
public function isValid($email)
    {
        if (false === $email = filter_var($email, FILTER_VALIDATE_EMAIL)) {
            return false;
        }

        try {
            list($local, $domain) = Utilities::parseEmailAddress($email);
        } catch (InvalidEmailException $e) {
            return false;
        }

        return !$this->adapter->isThrowawayDomain($domain);
    }
public function isValid ( $ email ) { if ( false === $ email = filter_var ( $ email , FILTER_VALIDATE_EMAIL ) ) { return false ; } try { list ( $ local , $ domain ) = Utilities :: parseEmailAddress ( $ email ) ; } catch ( InvalidEmailException $ e ) { return false ; } return ! $ this -> adapter -> isThrowawayDomain ( $ domain ) ; }
Check if it's a valid email, ie. not a throwaway email.

@param string $email The email to check

@return bool true for a throwaway email
Check if it s a valid email ie . not a throwaway email .