In python is there a way to check if a function is a "generator function" before calling it?
How to check if an object is a generator object in python?
When is a generator not a generator? Why does calling my function with yield not return a generator object sometimes How to get one value at a time from a generator function in Python? Python from generator to list How to create a generator function that calls generator functions Generator function not working python Python code generator Python: How to pass a generator to a function? What does "for i in generator():" do? How to check if generator was used? Why does my generator function always return the same value? Why call clearup code in generator function? python generator How to return a generator in Python How to return a generator from another function Python function to return a list or work as a generator? Python generator to list Python function returns generator instead of list Create list from generator Python generator and file object Does a generator know about the generator function? How does this Python Generator work? Error on generator... In a code which doesn't use them python 3 print generator How to write a generator for this function Python Generator - what not to use it for How does python know when to return a generator? About generator in Python Difference between generator expression and generator function Return list from generator Python