def is_from_fallback_block(node: astroid.node_classes.NodeNG) -> bool:
context = find_try_except_wrapper_node(node)<EOL>if not context:<EOL><INDENT>return False<EOL><DEDENT>if isinstance(context, astroid.ExceptHandler):<EOL><INDENT>other_body = context.parent.body<EOL>handlers = context.parent.handlers<EOL><DEDENT>else:<EOL><INDENT>other_body = itertools.chain.from_iterable(<EOL>handler.body for handler in context.handlers<EOL>)<EOL>handlers = context.handlers<EOL><DEDENT>has_fallback_imports = any(<EOL>isinstance(import_node, (astroid.ImportFrom, astroid.Import))<EOL>for import_node in other_body<EOL>)<EOL>ignores_import_error = _except_handlers_ignores_exception(handlers, ImportError)<EOL>return ignores_import_error or has_fallback_imports<EOL>
Check if the given node is from a fallback import block.