Converts a String to true or false
true
false
Raises an exception if str is not 0 or 1
str
0
1
Please login to continue.
Please login to continue.