code: function allSame(arr) {
      if (!check.array(arr)) {
        return false;
      }
      if (!arr.length) {
        return true;
      }
      var first = arr[0];
      return arr.every(function (item) {
        return item === first;
      });
    }
docs: Returns true if all items in an array are the same reference
  
  @method allSame