isgeneratorlike

emlib.misc.isgeneratorlike(obj)[source]

Does obj behave like a generator? (it can be iterated but has no length)