Given a binary string s without leading zeros, return true if s contains at most one contiguous segment of ones. Otherwise, return false.
A contiguous segment of ones means all the 1s in the string appear consecutively without any 0s between them.
1 <= s.length <= 100s[i] is either '0' or '1's[0] is '1' (no leading zeros)s = "1001"falses = "110"true