public boolean contains(Node obj) {
    final List<Node> l;
    synchronized (this) {
      l = list;
    }
    return l.contains(obj);
  }
Returns true if obj is present in the list otherwise false.

@return true if obj is present in the list
geode-core/src/main/java/org/apache/geode/internal/util/VersionedArrayList.java