is_stateful#

MultiRLModule.is_stateful() → bool[source]#

Returns whether any of the RLModules in this MultiRLModule is stateful.

Returns:

True if the initial state of at least one RLModule in this MultiRLModule isn’t empty.

Return type:

bool