If the mix has been in a sealed container, - jar or tin or tub with airtight lid, it is fine. However, if it was in a sort of paper bag, continue as follows:
Spread the mix thinly over a baking tray, shake it, then look closely to see if anything moves about. If it moves it's weevils and not nice to eat ( cooked or not !)