contains method

bool contains(
  1. Element elem
)

Implementation

bool contains(Element elem) {
  return elements.contains(elem);
}