@staticmethod
def _value_to_str(value):
    if isinstance(value, bool):
        value = ('1' if value else '0')
    return str(value)
@staticmethod
def _value_to_str(value):
    if isinstance(value, bool):
        value = ('1' if value else '0')
    return str(value)