Input function is a coroution or not.
func
coroutine
Function.
bool
True if the function is a corountine. Otherwise, False.