(self, commands)
return self.keepOnlyRequired(commands, self.registry.cmddict)
Check each command name in the commands list and remove it if not
        required by the generator.

        This will allow some state operations to take place before endFile.
Check each command name in the commands list and remove it if not
        required by the generator.
Check each command name in the commands list and remove it if not required by the generator .
def findRequiredCommands(self, commands):
        """Check each command name in the commands list and remove it if not
        required by the generator.

        This will allow some state operations to take place before endFile."""
        return self.keepOnlyRequired(commands, self.registry.cmddict)
def findRequiredCommands ( self , commands ) : return self . keepOnlyRequired ( commands , self . registry . cmddict )