Return true if and only if the internal flag is true. This method is deprecated, use is_set() instead.
(self)
| 617 | return self._flag |
| 618 | |
| 619 | def isSet(self): |
| 620 | """Return true if and only if the internal flag is true. |
| 621 | |
| 622 | This method is deprecated, use is_set() instead. |
| 623 | |
| 624 | """ |
| 625 | import warnings |
| 626 | warnings.warn('isSet() is deprecated, use is_set() instead', |
| 627 | DeprecationWarning, stacklevel=2) |
| 628 | return self.is_set() |
| 629 | |
| 630 | def set(self): |
| 631 | """Set the internal flag to true. |