def is_service_enabled(self, service_name):
    nodes = self.get_service_nodes(service_name)
    print(nodes)
    if (len(nodes) > 0):
        if (nodes[0]['status'] == 'enabled'):
            return True
    return False
def is_service_enabled(self, service_name):
    nodes = self.get_service_nodes(service_name)
    print(nodes)
    if (len(nodes) > 0):
        if (nodes[0]['status'] == 'enabled'):
            return True
    return False