rem: CollisionPair *cr; if (coll_pairs.FindPtr(key,cr)) { return true; } else { return false; }
add: return ( coll_pairs.find(key)!= coll_pairs.end() );
context:       bool CollisionExists(int id1, int id2)      {         // generate the merged 32 bit id, and query key array         // for the collision         int key;         get_merged_id(id1,id2,key);         CollisionPair *cr;         if (coll_pairs.FindPtr(key,cr))         {            return true;         } else         {            return false;         }      };