Return true if and only if the internal flag is true. This method is deprecated, use is_set() instead.
(self)
| 577 | return self._flag |
| 578 | |
| 579 | def isSet(self): |
| 580 | """Return true if and only if the internal flag is true. |
| 581 | |
| 582 | This method is deprecated, use is_set() instead. |
| 583 | |
| 584 | """ |
| 585 | import warnings |
| 586 | warnings.warn('isSet() is deprecated, use is_set() instead', |
| 587 | DeprecationWarning, stacklevel=2) |
| 588 | return self.is_set() |
| 589 | |
| 590 | def set(self): |
| 591 | """Set the internal flag to true. |