def METHOD_NAME():
    assert asbool(True) is True
    assert asbool(False) is False
    assert asbool(None) is False
    assert asbool("true") is True
    assert asbool("false") is False
    assert asbool("yes") is True
    assert asbool("no") is False
    assert asbool("on") is True
    assert asbool("off") is False
    with pytest.raises(ValueError) as excinfo:
        asbool("Hotzenplotz")
    assert str(excinfo.value) == "String is not true/false: 'hotzenplotz'"