<doocs>0717.1-bit and 2-bit Characters_1.py
def isOneBitCharacter( bits: List[int]) -> bool:
    i, n = 0, len(bits)
    while i < n - 1:
        i += bits[i] + 1
    return i == n - 1
def sample_funcname ( var_0 : List [ int ] ) -> bool :
    var_5 , var_7 = 0 , len ( var_0 )
    while var_5 < var_7 - 1 :
        var_5 += var_0 [ var_5 ] + 1
    return var_5 == var_7 - 1
