Protocol.getProtocolByType

bool getProtocolByType(ProtocolType type) @trusted nothrow

Returns

false on failure