docs: 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;
    }