added method to allow other commands to make sure all required options are set and have a value