Require that matched nodes have attribute attr with value value.
attr
value
TagQuery attributeIs(String attr, String value) => where((n) => n.attributes[attr] == value);