I\'m looking for an way to easily check if an option is available (not sold out), since the theme I use, loops through the options on a product and then display swatches.