template isSomeFunction(T...)
static if (is(typeof(& T[0]) U : U*) && is(U == function) || is(typeof(& T[0]) U == delegate))
enum bool isSomeFunction = true;
else static if (is(T[0] W) || is(typeof(T[0]) W))
static if (is(W F : F*) && is(F == function))
enum bool isSomeFunction = true;
enum bool isSomeFunction = is(W == function) || is(W == delegate);
enum bool isSomeFunction = false;
void serializeSinkType(T2) (scope auto ref T2 record) {}
template SupportSinkTypeSer(SerT)
enum SupportSinkTypeSer = isSomeFunction!(SerT.init.serializeSinkType!int);
enum x = SupportSinkTypeSer!(MySerializer!int);