code: function isClass(clazz) {
      return isFunction(clazz) && (clazz.prototype && clazz === clazz.prototype.constructor);
    }
docs: Check an object is a class (not an instance of a class, which is a map) or not.