function isPlainObjectOrEntity(value) {
  return (value instanceof AbstractEntity) || (
        (value instanceof Object) &&
        (
          (Object.getPrototypeOf(value) === Object.prototype) ||
          (Object.getPrototypeOf(value) === null)
        )
      )
}
/**
 * Returns {@code true} if the provided value is a plain object.
 *
 * @param {*} value The value to test.
 * @returns {boolean} {@code} if the provided value is a plain object or an
 *          entity.
 */
Returns  true if the provided value is a plain object.
@param {*} value The value to test.
@returns {boolean}  if the provided value is a plain object or an
entity.
Returns true if the provided value is a plain object . @param { * } value The value to test . @returns { boolean } if the provided value is a plain object or an entity .
function isPlainObjectOrEntity(value) {
  return (value instanceof AbstractEntity) || (
        (value instanceof Object) &&
        (
          (Object.getPrototypeOf(value) === Object.prototype) ||
          (Object.getPrototypeOf(value) === null)
        )
      )
}
function isPlainObjectOrEntity ( value ) { return ( value instanceof AbstractEntity ) || ( ( value instanceof Object ) && ( ( Object . getPrototypeOf ( value ) === Object . prototype ) || ( Object . getPrototypeOf ( value ) === null ) ) ) }
Returns {@code true} if the provided value is a plain object.
Returns { @code true } if the provided value is a plain object .