Add support for non-dictionary objects in isEmpty in lodash.d.ts