checking notification availabiliy