syntax_data: {"ast_node_type":"function","tokens":[{"end":45,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn is_legacy_enabled(&self) -> bool {
context_before:     /// Returns whether the legacy version of polonius is enabled
context_after:         matches!(self, Polonius::Legacy)