@jayroh `@query` is an array. Is there another way to check if it's not empty?