def bitget_string(z: str, bit: int):
    """
    get the bit value at position bit:int, assume it's binary.
    """
    if bit >= len(z):
        return False

    bit_str = z[::-1][bit]

    return bool(int(bit_str))