Enum member hasValve

Evaluates to true if the given io pipe has a valve

enum hasValve(T) = isIopipe!(PropertyType!(T.init.valve));