ray.rllib.policy.sample_batch.SampleBatch.is_single_trajectory# SampleBatch.is_single_trajectory() → bool[source]# Returns True if this SampleBatch only contains one trajectory. This is determined by checking all timesteps (except for the last) for being not terminated AND (if applicable) not truncated.