`rm = ResourceManager()` Spend a lot of time on `check_ is_ active_ rm` function , could i cache it ?