Added method for checking domain state change