function isObject(obj) {
  return Object.prototype.toString.call(obj) === '[object Object]';
}
Determines whether given object is a plain Object.
Note: String and Array are not plain Objects
@param {*} obj
@returns {boolean}