def METHOD_NAME(self, virt=None):
    """
    Returns a list of all registered installer modes
    """
    if virt is None:
        virt = self.DEFAULT_VIRT_NAME
    if virt not in self:
        return []
    return list(self[virt].keys())