Whether this peer advertises feature.
feature
bool hasFeature(String feature) => features.contains(feature);