Return True if the this mapper inherits from the given mapper.
(self, other: Mapper[Any])
| 3343 | return _state_mapper(state) is s |
| 3344 | |
| 3345 | def isa(self, other: Mapper[Any]) -> bool: |
| 3346 | """Return True if the this mapper inherits from the given mapper.""" |
| 3347 | |
| 3348 | m: Optional[Mapper[Any]] = self |
| 3349 | while m and m is not other: |
| 3350 | m = m.inherits |
| 3351 | return bool(m) |
| 3352 | |
| 3353 | def iterate_to_root(self) -> Iterator[Mapper[Any]]: |
| 3354 | m: Optional[Mapper[Any]] = self |
no outgoing calls
no test coverage detected