code: def is_operator_selected(self, name: str) -> bool:
      if self.include_all_operators:
          return True
  
      if name in self.operators:
          return True
      name = strip_operator_overload_name(name)
      return (
          name in self.operators
          and self.operators[name].include_all_overloads
      )
  
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 6 for calling the SelectiveBuilder obj's underlying member method code with example usage: obj.is_operator_selected(name) and returns: unknown, True, True