>>-hasItem(item-+--------+-)----------------------------------->< +-,index-+
1
(true) if the relation contains the member item item, 0
(false). If index is specified, hasItem() will only return true if the relation contains the pairing of item associated with index index. Item and index equality is determined by using the == method.