check if query frames are available