sinergym.utils.common.is_wrapped
- sinergym.utils.common.is_wrapped(env: Type[gym.Env], wrapper_class: Type[gym.Wrapper]) bool
Check if a given environment has been wrapped with a given wrapper.
- Parameters:
env – Environment to check
wrapper_class – Wrapper class to look for
- Returns:
True if environment has been wrapped with
wrapper_class
.