worker.js
function sauceConfigured(config) {
  var sauceAccessKey = config.access_key
  var sauceUsername = config.username

  if (!sauceAccessKey || !sauceUsername) {
    return false
  }

  return true
}
function sauceConfigured(config) {
  var sauceAccessKey = config.access_key
  var sauceUsername = config.username

  if (!sauceAccessKey || !sauceUsername) {
    return false
  }

  return true
}
Is Sauce configured for this context?