code: func (mtask *managedTask) isWaitingForACSExecutionCredentials(reasons []error) bool {
  	for _, reason := range reasons {
  		if reason == dependencygraph.CredentialsNotResolvedErr {
  			seelog.Debugf("Managed task [%s]: waiting for credentials to pull from ECR", mtask.Arn)
  
  			timeoutCtx, timeoutCancel := context.WithTimeout(mtask.ctx, waitForPullCredentialsTimeout)
  			defer timeoutCancel()
  
  			timedOut := mtask.waitEvent(timeoutCtx.Done())
  			if timedOut {
  				seelog.Debugf("Managed task [%s]: timed out waiting for acs credentials message", mtask.Arn)
  			}
  			return true
  		}
  	}
  	return false
  }
docs: // isWaitingForACSExecutionCredentials checks if the container that can't be transitioned
  // was caused by waiting for credentials and start waiting