def determine_appliers(self, label_id, version):
    'Figure out which layers to apply by checking the GET args'
    if ('layers' in self.request.GET.keys()):
        return utils.handle_specified_layers(self.request.GET['layers'], label_id, version, self.__class__.sectional_links)
    else:
        layer_creator = generator.LayerCreator()
        layer_creator.add_layers(generator.LayerCreator.LAYERS.keys(), label_id, version, self.__class__.sectional_links)
        return layer_creator.get_appliers()
Figure out which layers to apply by checking the GET args
def determine_appliers(self, label_id, version):
    
    if ('layers' in self.request.GET.keys()):
        return utils.handle_specified_layers(self.request.GET['layers'], label_id, version, self.__class__.sectional_links)
    else:
        layer_creator = generator.LayerCreator()
        layer_creator.add_layers(generator.LayerCreator.LAYERS.keys(), label_id, version, self.__class__.sectional_links)
        return layer_creator.get_appliers()