check if any results are returned