API reference
python:astx:astx.subscript.SubscriptExpr.is_slice
attribute is_slice
is_slice: bool = index is None or any((bound is not None) for bound in (lower, upper, step))
Source: packages/astx/src/astx/subscript.py:108
Distinguish omitted slice bounds from an explicit none index.