Add isObjectEmpty() and FindGlobalEnum()