- Modified checkAvailability function to take into account of the Forever mode (both visible and invisible)