I don't think it's possible to tell the difference between a not phanora and a phanora from the gallery. There is no such function at the moment, and what the gallery separates is something that the client cannot do.
But what I can suggest is that after selecting a picture, you can know the width and height of the picture when you receive the response value. I think you can tell if it's panoramic at this value.
Generic Image Size

Panoramic Picture Size
(nonmal)
(width: 4912 × 1080)
(height: 3424 × 1920)
Take the image to the standard size.
(wide)
(width: 7152 × 1080)
(height: 4912 × 1920)
Take the image in wide size.
(360°)
(가로: 11520 × 1080)
Use 360 degrees to strobe the image.
(highpixel)
(가로: 10480 × 4096)
43 megapixels for high-resolution panoramas.