Soham | Added utility method to verify availability of a service.