code: function isBoolean(o) {
      return o !== undefined && o !== null &&
            (typeof o === "boolean" || o.constructor === Boolean);
  }
docs: Check if the given value is boolean
  @param {Object} v a value.
  @return {Boolean} true if the given value is boolean
  @method isBoolean
  @for zebkit