util.isObject(value)

Return true when value is an object (plain object or a function).