Standard LibraryTypesSetMethodscontainsOn this pagecontains Method of Set. contains(const Object value) -> bool Checks if the set contains the specified value. Parameters value: The value to search for.