<doocs>1784.Check if Binary String Has at Most One Segment of Ones_1.py
def checkOnesSegment( s: str) -> bool:
    return '01' not in s
def sample_funcname ( var_0 : str ) -> bool :
    return '01' not in var_0
