def get_installed_categories(shop):
 return (configuration.get(shop, SAMPLE_CATEGORIES_KEY) or [])

def get_installed_categories ( shop ) : return ( configuration . get ( shop , SAMPLE_CATEGORIES_KEY ) or [ ] )
returns the installed categories samples list .