code: def is_native_function_selected(self, func: NativeFunction) -> bool:
      op_name = op_name_from_native_function(func)
      return self.is_operator_selected(op_name)
  
imports: from collections import defaultdict
  from collections.abc import Iterable
  from dataclasses import dataclass
  from typing import Dict, List, Optional, Set, Tuple
  import yaml
  from torchgen.model import NativeFunction
  from torchgen.selective_build.operator import merge_debug_info, merge_operator_dicts, SelectiveBuildOperator, strip_operator_overload_name
label_desc: Use image node_id 7 for calling the SelectiveBuilder obj's underlying member method code with example usage: obj.is_native_function_selected(func) and returns: self