code: function scanArray(array) {
      var length = array.length;
      var containsStream = false;
  
      for (var i = 0; i < length; i++) {
        if (isStream(array[i])) {
          containsStream = true;
          break;
        }
      }
  
      return containsStream;
    }
docs: /*
  Check whether an array contains any stream values.
  
  @private
  @for Ember.stream
  @function scanArray
  @param {Array} array Array given to a handlebars helper.
  @return {Boolean} `true` if the array contains a stream/bound value, `false`
  otherwise.