'A property method to check whether a set is closed. A set is closed
if it\'s complement is an open set.
Examples
>>> from sympy import Interval
>>> Interval(0, 1).is_closed
True'

@property
def is_closed(self):

    return self.boundary.is_subset(self)
