Checks if the given protocolInfo string is compatible with info.
info
The first ProtocolInfo
The second ProtocolInfo
true if protocol_info is compatible with info, otherwise false.
true
protocol_info
false