public function exists($email)
    {
        $this->setDefaultImage('404');

        $headers = get_headers($this->get($email), 1);

        return strpos($headers[0], '200') ? true : false;
    }
public function exists($email)
    {
        $this->setDefaultImage('404');

        $headers = get_headers($this->get($email), 1);

        return strpos($headers[0], '200') ? true : false;
    }
public function exists ( $ email ) { $ this -> setDefaultImage ( '404' ) ; $ headers = get_headers ( $ this -> get ( $ email ) , 1 ) ; return strpos ( $ headers [ 0 ] , '200' ) ? true : false ; }
Check if email has a gravatar.

@param  string  $email

@return bool
Check if email has a gravatar .