Set.contains_all¶
-
Set.
contains_all
(self, other)[source]¶ Test if all elements in
other
are contained in this set.This is a default implementation that assumes
other
to be a sequence and tests each elment ofother
sequentially. This method should be overridden by subclasses.- Returns
- all_containedbool
True
if all elements ofother
are contained in this set,False
otherwise