def METHOD_NAME(query_range_result_single_error):
    """
    The function finds single error in query_range_result_single_error data,
    assuming 1 is a good value.
    """
    result1 = check_query_range_result_enum(
        query_range_result_single_error, good_values=[1]
    )
    assert not result1
    result2 = check_query_range_result_enum(
        query_range_result_single_error, good_values=[1, 0]
    )
    assert result2, "assuming both 1 and 0 are good values, check should pass"