containsAttribute method

bool containsAttribute(
  1. String key, {
  2. String? ns,
})

Implementation

bool containsAttribute(String key, {String? ns}) =>
    getAttribute(key, ns: ns) != null;