Example #1
0
def toBool(x):
    return str(x.lower()) in ("yes", "true", "t", "1")