(self, flag)
| 1574 | return bool(self._value_) |
| 1575 | |
| 1576 | def _get_value(self, flag): |
| 1577 | if isinstance(flag, self.__class__): |
| 1578 | return flag._value_ |
| 1579 | elif self._member_type_ is not object and isinstance(flag, self._member_type_): |
| 1580 | return flag |
| 1581 | return NotImplemented |
| 1582 | |
| 1583 | def __or__(self, other): |
| 1584 | other_value = self._get_value(other) |
no test coverage detected