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