Checks if e has a boolean value.
-1 if not a bool, 0 if the value is false and 1 if true.
See Implementation
Checks if e has a boolean value.