code: def include_function(func, exclusion_attr="input_type"):
      """Helper function for selecting specific subset of functions subject to an exclusion attribute
      and the availability of optional dependencies.
  
      :param func: function to be tested for inclusion
      :type func: object
      :param exclusion_attr: function attribute qualifying as exclusion criterion
      :type exclusion_attr: str
  
      :return: Boolean indicating if the specific function matches the inclusion criteria.
      :rtype: bool
      """
      decision = (
          hasattr(func, "fctype")
          and not hasattr(func, exclusion_attr)
          and not (
              hasattr(func, "dependency_available")
              and getattr(func, "dependency_available") is False
          )
      )
      return decision
  
imports: import logging
  from builtins import range
  from collections import UserDict
  from inspect import getfullargspec
  from itertools import product
  import cloudpickle
  import pandas
  from tsfresh.feature_extraction import feature_calculators
  from tsfresh.utilities.string_manipulation import get_config_from_string
label_desc: Use image node_id 2 for calling a global function with example usage: include_function(func, exclusion_attr) and returns: decision