def has_check_failure(properties, message):
    """
    Search in properties for a failed property with the given message
    """
    for property in properties:
        if message in property["description"] and property["status"] == "FAILURE":
            return True
    return False