You can just do `if settings.MKTG_URL_LINK_MAP.get('FAQ'):`