def validate_bool(value):
    if value == None:
        return False
    if value.lower() in ("on", "1", "true", "t"):
        return True
    else:
        return False
dataset/ETHPy150Open kdart/pycopia/storage/pycopia/db/webhelpers.py/validate_bool/operator `is` -> `==`