def METHOD_NAME(self, properties):
    """Test if cluster is enabled"""
    if isinstance(properties, dict):
        for property_name, property_value in properties.items():
            if property_name == "cluster-enabled" and property_value == "yes":
                return True
    return False