def METHOD_NAME(input_type, dtype, shape, order):
    input_array = create_cuml_array_input(input_type, dtype, shape, order)
    assert input_array.dtype == dtype
    if input_type == "series":
        assert input_array.shape == series_squeezed_shape(shape)
    else:
        assert input_array.shape == normalized_shape(shape)
    layout_flag = f"{order}_CONTIGUOUS"
    if input_type == "series":
        assert input_array.values.flags[layout_flag]
    else:
        assert input_array.flags[layout_flag]