def check_important_variables(self):
        """
        Check all the variables needed are defined
        """
        if len(self.important_variables - set(self.args.keys())):
            raise TypeError("Some important variables are not set")
Check all the variables needed are defined