sinergym.utils.common.is_wrapped
- sinergym.utils.common.is_wrapped(env: Type[Env], wrapper_class: Type[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
.