Integers.contains_set

Integers.contains_set(self, other)[source]

Test if other is a subset of the integers.

Returns
containedbool

True if other is an instance of Integers, False otherwise.

Examples

>>> integers = Integers()
>>> integers.contains_set(RealNumbers())
False