var ObjectProto_toString = Object.prototype.toString,
    objectBooleanStr = "[object Boolean]";

module.exports = isBoolean;

function isBoolean(value) {

    return ((value === true) ||
        (value === false) ||
        (ObjectProto_toString.call(value) === objectBooleanStr));

}
