Checks if value is classified as a boolean primitive or object.
Optional
The value to check.
Returns true if value is correctly classified, else false.
Checks if value is classified as a boolean primitive or object.