Template hasValve

Evaluates to true if the given io pipe has a valve

template hasValve(T) ;