Function toPlainObject

Returns x if x is a plain object.