Created implementation for ProtocolMessage#hasValidAction