Added isObject and isIterable functions