code: def _is_sorted_desc_by_lengths(lst):
      return all(len(a) >= len(b) for a, b in zip(lst, lst[1:]))
  
imports: from abc import ABCMeta, abstractmethod, abstractproperty
  from typing import Optional
  import numpy
  import torch
  from pfrl.utils.batch_states import batch_states
  from pfrl.utils.recurrent import concatenate_recurrent_states, flatten_sequences_time_first, recurrent_state_from_numpy
label_desc: Use image node_id 3 for calling a global function with example usage: _is_sorted_desc_by_lengths(lst) and returns: all