def version_has_service(version, service)
      return service_config.include?(version) &&
          service_config[version].include?(service)
    end
def version_has_service(version, service)
      return service_config.include?(version) &&
          service_config[version].include?(service)
    end
Does the given version exist and contain the given service?

 Returns:
 Boolean indicating whether the given version exists and contains the
 given service