no need for the condition here, UnregisterObserver() already checks this