Whether this node is attached to something besides the file :rtype: bool
(self)
| 310 | return parent |
| 311 | |
| 312 | def is_attr(self): |
| 313 | """ |
| 314 | Whether this node is attached to something besides the file |
| 315 | :rtype: bool |
| 316 | """ |
| 317 | return (self.parent |
| 318 | and isinstance(self.parent, Group) |
| 319 | and self.parent.group_type in (GROUP_TYPE.CLASS, GROUP_TYPE.NAMESPACE)) |
| 320 | |
| 321 | def token_with_ownership(self): |
| 322 | """ |
no outgoing calls
no test coverage detected