isServiceAvailable method