Validate a bit-flag protocol

.validateProtocol(protocol)

Arguments

protocol

the protocol to validate

Value

the validated protocol