Is this line a class definition with a body consisting only of "..."?
(self)
| 142 | |
| 143 | @property |
| 144 | def is_stub_class(self) -> bool: |
| 145 | """Is this line a class definition with a body consisting only of "..."?""" |
| 146 | return self.is_class and self.leaves[-3:] == [ |
| 147 | Leaf(token.DOT, ".") for _ in range(3) |
| 148 | ] |
| 149 | |
| 150 | @property |
| 151 | def is_def(self) -> bool: |