Return True if the this mapper inherits from the given mapper.
(self, other: Mapper[Any])
| 3385 | return _state_mapper(state) is s |
| 3386 | |
| 3387 | def isa(self, other: Mapper[Any]) -> bool: |
| 3388 | """Return True if the this mapper inherits from the given mapper.""" |
| 3389 | |
| 3390 | m: Optional[Mapper[Any]] = self |
| 3391 | while m and m is not other: |
| 3392 | m = m.inherits |
| 3393 | return bool(m) |
| 3394 | |
| 3395 | def iterate_to_root(self) -> Iterator[Mapper[Any]]: |
| 3396 | m: Optional[Mapper[Any]] = self |
no outgoing calls
no test coverage detected