I guess if you don't see anything crawling around in it or webs.

I have just put the raw rice in a container and froze it. Take it out maybe a day ahead of time and use it.
Usually, though I use it pretty often. I always take it out of the package and store it in a glass jar in a cupboard away from heat. But I always take it out of it's plastic packaging. I've seen it in the grocery store with webs in it.