ray.rllib.policy.sample_batch.SampleBatch.is_terminated_or_truncated#

SampleBatch.is_terminated_or_truncated() bool[source]#

Returns True if self is either terminated or truncated at idx -1.