def _is_gmail(domain, resolve):
return _domain_check(domain, GMAIL_DOMAINS, resolve)<EOL>
Returns ``True`` if the domain is hosted by Google

    :param str domain: The domain to check to see for gmail hosting
    :param bool resolve: Resolve the domain
    :rtype: bool