hasLabel method
Checks if the remote peer is producing the label @param label - Label to check if the remote peer is producing @returns - Returns true if the remote peer is producing the label
Implementation
bool hasLabel(String label) {
return _labelsToProducerId.containsKey(label);
}