Before using it you should check if everything is ok with this function.
Using the database when getAvailability returns false is not safe, the database can return errors or erroneous data.
getAvailability();
GET http://tnodb.obs-besancon.fr/ws/tno/availability