In reply to svasekar:
The examples here are associative arrays of queues, not queues of associative arrays.
assoc_queue[1] is one element of the associative array whose type is a queue, so the exists() method is not appropriate.
assoc_queue.exists(1) would be appropriate.