Add contains() to immutable