Returns true if the two Service instances refer to the same service.
bool isSame(Service a, Service b) => a.name == b.name && a.type == b.type;