add a method areNotificationsEnabled

Change-Id: If82e476d13286d0670fcdda73dd41575116d5a06