Function to determine if this handler matches a given protocol
final bool Function(ProtocolID) matchFunc;