check if service object is created