from typing import List


def _bits_to_bool(bits: List[int], start: int, end: int) -> bool:
    """
    interprete the given range of a bit string as a bool
    as specified in the NMEA AIS sentence standard
    """
    assert start == end
    return bits[start] == 1