How to tell if an onion is bad