Check if queue_ui_defined_queues function exists.