ray.rllib.core.rl_module.rl_module.RLModule.is_stateful# RLModule.is_stateful() → bool[source]# Returns False if the initial state is an empty dict (or None). By default, RLlib assumes that the module is non-recurrent if the initial state is an empty dict and recurrent otherwise. This behavior can be overridden by implementing this method.