boolean (Object object) { if (!mutable) return super.equals(object); if (object instanceof Node node) { if (node.mutable) return Objects.equals(getUserObject(), node.getUserObject()); } return false; }