@staticmethod
    def _is_gce():
        http_code, http_reason, body = _get_gce_metadata()
        if http_code == httplib.OK and body:
            return True
        return False
Checks if we can access the GCE metadata server.
dataset/ETHPy150Open apache/libcloud/libcloud/common/google.py/GoogleAuthType._is_gce