HolePunch.defined?

This new function allows you to check if all the securty groups named in a given list are defined in the SecurityGroups file.