Return true if and only if the internal flag is true. This method is deprecated, use is_set() instead.
(self)
| 610 | return self._flag |
| 611 | |
| 612 | def isSet(self): |
| 613 | """Return true if and only if the internal flag is true. |
| 614 | |
| 615 | This method is deprecated, use is_set() instead. |
| 616 | |
| 617 | """ |
| 618 | import warnings |
| 619 | warnings.warn('isSet() is deprecated, use is_set() instead', |
| 620 | DeprecationWarning, stacklevel=2) |
| 621 | return self.is_set() |
| 622 | |
| 623 | def set(self): |
| 624 | """Set the internal flag to true. |