def METHOD_NAME():
    """Check, if dist_object attribute has 'cdf' method,  when dist_object is a distributionND class object."""
    z4.dist_object, z4.list = [1, 2], True
    with pytest.raises(ValueError):
        z4.transform_u01()