Files
mdecker62 d9ba2ef19c k
2026-03-03 14:22:48 -05:00

6 lines
118 B
Python

def is_bit_string(value):
bit_chars = {'1', '0', ' '}
return value.strip() and not (set(value) - bit_chars)