{"ast_node_type":"function","tokens":[{"end":51,"kind":"keyword","start":0,"text":"fn"}]}
fn is_nested_function(function: &ast::Fn) -> bool {
/// Returns whether the given function is nested within the body of another function.
    function.syntax().ancestors().skip(1).find_map(ast::Item::cast).is_some_and(|it| {