code: function (a, b) {
              var other = false;
              Y.some(a, function (i, k) {
                  if ((i.itemtype === b.itemtype) && (i.name === b.name)) {
                      other = k;
                      return true;
                  }
              });
              return other;
          }
docs: Checks an array of items (class items) to see if an item is in that list
  @method hasProperty
  @param {Array} a The Array of items to check
  @param {Object} b The object to find
  @return Boolean