add a method areNotificationsEnabled

Change-Id: I457c48309198c13033b64e0bc0800e1ad7a3105d