code: def check_valid_primitive_path(path):
      if os.path.isdir(path):
          return False
  
      filename = os.path.basename(path)
  
      if (
          filename[:2] == "__"
          or filename[0] == "."
          or filename[-3:] != ".py"
      ):
          return False
  
      return True
  
imports: import importlib.util
  import os
  from inspect import getfullargspec, getsource, isclass
  from typing import Dict, List
  import pandas
  from woodwork import list_logical_types, list_semantic_tags, type_system
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import NaturalLanguage
  import featuretools
  from featuretools.primitives import NumberOfCommonWords
  from featuretools.primitives.base import AggregationPrimitive, PrimitiveBase, TransformPrimitive
  from featuretools.utils.gen_utils import Library, find_descendents
label_desc: Use image node_id 16 for calling a global function with example usage: check_valid_primitive_path(path) and returns: True, False, False