fn needs_block(block: &Block, prefix: &str, context: &RewriteContext<'_>) -> bool