contains<T> method

bool contains<T>()

Implementation

bool contains<T>() {
  return _attributes.values.any((attr) => attr is T);
}