try:
    from foo import Bar
except ImportError:
    Bar = None  # import-fallback-ok: optional extra
