@staticmethod
    def _is_gce():
        http_code, http_reason, body = _get_gce_metadata()
        if http_code == httplib.OK and body:
            return True
        return False
The nodes command shows the cluster topology.
dataset/ETHPy150Open apache/libcloud/libcloud/common/google.py/GoogleAuthType._is_gce--crossover with--dataset/ETHPy150Open elastic/elasticsearch-py/elasticsearch/client/cat.py/CatClient.nodes