def isgeneratorfunction(obj) -> bool: ...