def test_is_model_a_w_revision(cpu):
    from kano.utils.hardware import is_model_a, RPI_A_PLUS_KEY

    assert (
        is_model_a(revision=cpu.revision, use_cached=False) ==
        (cpu.platform_key == RPI_A_PLUS_KEY)
    )
def is_unsupported_rpi():
    """Check if the Raspberry Pi board model is supported under Kano OS."""

    # The order of checks here is done Descending by Most Likely Model.
    return (is_model_b_plus() or is_model_b_beta() or is_model_b()
            or is_model_a() or is_model_a_plus() or is_model_zero()
            or is_model_zero_w())