Return *True* if the symbol is declared global with a global statement.
(self)
| 330 | return bool(self.__flags & DEF_NONLOCAL) |
| 331 | |
| 332 | def is_declared_global(self): |
| 333 | """Return *True* if the symbol is declared global |
| 334 | with a global statement.""" |
| 335 | return bool(self.__scope == GLOBAL_EXPLICIT) |
| 336 | |
| 337 | def is_local(self): |
| 338 | """Return *True* if the symbol is local. |