itacart.boundary.is_extension_cell
- itacart.boundary.is_extension_cell(cell)[source]
Whether a cell lies inside an eastern-quadrant extension.
True both for a cell wholly past the antemeridian and for the clipped cell on the zone’s own meridian border, which is what makes it the companion of
is_trapezoidal_cell()rather than a synonym for it.- Parameters:
cell (
str) – Compositional index string.- Return type:
- Returns:
A boolean for a single cell, or a positionally aligned list.
- Raises:
NonExistentCellError – If any cell of the index names no cell. The predicate is the arbiter and the contract ends there: a spelling it denies is refused rather than answered for the cell it would otherwise fold onto.