'Returns true if all instances are Cluster/GPU Compute type'

def is_cluster_compute(self):

    nodes = self.nodes
    if (not nodes):
        return False
    for node in nodes:
        if (not node.is_cluster_compute()):
            return False
    return True
