contains method generalized.