is_coroutine

lsst.ts.m2com.is_coroutine(function)

Input function is a coroution or not.

Parameters:
functionfunc or coroutine

Function.

Returns:
bool

True if the function is a corountine. Otherwise, False.