'Check whether all nodes are in the \'stopped\' state'

def is_cluster_stopped(self):

    nodes = self.nodes
    if (not nodes):
        return False
    for node in nodes:
        if (node.state != 'stopped'):
            return False
    return True
