def METHOD_NAME(value):
    if hasattr(value, "lower") and value.lower() in ("false", "0"):
        return False
    if hasattr(value, "lower") and value.lower() in ("true", "1"):
        return True
    else:
        return ""