def get_imports(node):
    """get the import definitions inside node

    Args:
        node (ast.AST): node containing a `body` attribute.