Return *True* if the symbol is local.
(self)
| 260 | return bool(self.__scope == GLOBAL_EXPLICIT) |
| 261 | |
| 262 | def is_local(self): |
| 263 | """Return *True* if the symbol is local. |
| 264 | """ |
| 265 | return bool(self.__scope in (LOCAL, CELL) |
| 266 | or (self.__module_scope and self.__flags & DEF_BOUND)) |
| 267 | |
| 268 | def is_annotated(self): |
| 269 | """Return *True* if the symbol is annotated. |