Check analogic line

good morning
i have a question, i wonder if it’s possible check if an analogic phone is connect, because I have a system connected to audible alarms, and if the lines are not running a technician needs to know immediately to resolve the problem