code: def find_applicable_primitives(primitive):
      from featuretools.primitives.utils import (
          get_aggregation_primitives,
          get_transform_primitives,
      )
  
      all_transform_primitives = list(
          get_transform_primitives().values()
      )
      all_aggregation_primitives = list(
          get_aggregation_primitives().values()
      )
      applicable_transforms = find_stackable_primitives(
          all_transform_primitives,
          primitive,
      )
      applicable_aggregations = find_stackable_primitives(
          all_aggregation_primitives,
          primitive,
      )
      return applicable_transforms, applicable_aggregations
  
file_path: featuretools/featuretools/tests/primitive_tests/utils.py
imports: from inspect import signature
  import pytest
  from featuretools import FeatureBase, calculate_feature_matrix, dfs, encode_features, list_primitives, load_features, save_features
  from featuretools.primitives.base import AggregationPrimitive, PrimitiveBase
  from featuretools.tests.testing_utils import make_ecommerce_entityset
label_desc: Use image node_id 3 for calling a global function with example usage: find_applicable_primitives(primitive) and returns: applicable_transforms,  applicable_aggregations