class_docstr: A PEP 302 meta path importer for finding optionally-vendored
  or otherwise naturally-installed packages from root_name.
class_docstr_tok: ["A","PEP","302","meta","path","importer","for","finding","optionally-vendored","or","otherwise","naturally-installed","packages","from","root_name","."]
docstr: Figure out if the target module is vendored.
docstr_tok: ["Figure","out","if","the","target","module","is","vendored","."]
code: def _module_matches_namespace(self, fullname):
      """Figure out if the target module is vendored."""
      root, base, target = fullname.partition(self.root_name + ".")
      return not root and any(
          map(target.startswith, self.vendored_names)
      )
  
file_path: catboost/contrib/python/setuptools/py3/pkg_resources/extern/__init__.py
imports: import importlib.util
  import sys
label_desc: Use image node_id 3 for calling the VendorImporter obj's underlying member method code with example usage: obj._module_matches_namespace(fullname) and returns: unknown