Just go over to their office with your QID and ask them. They can check through the system. Try first at the passport & immigration office. I guess you can do so even at the office at the airport.