[docs]defis_pristine(x)->bool:"""Determine whether an object is pristine, i.e., has no delayed operations. Args: x: Some array-like object. Returns: Whether ``x`` is a :py:class:`~delayedarray.DelayedArray.DelayedArray` containing delayed operations. """ifisinstance(x,DelayedArray):x=x.seedreturnnotisinstance(x,DelayedOp)