Check whether a given value is a generator function