function isPlainObject(value) {
  return Object.prototype.toString.call(value) === '[object Object]';
}
Checks if value is an Object

@param {any} value The value to check.
@returns {boolean} Returns true if value is an plain object, else false.