code: def _query_include_self(X, include_self):
      """Return the query based on include_self param"""
      if include_self:
          query = X._fit_X
      else:
          query = None
  
      return query
  
imports: from .base import KNeighborsMixin, RadiusNeighborsMixin
  from .unsupervised import NearestNeighbors
label_desc: Use image node_id 2 for calling a global function with example usage: _query_include_self(X, include_) and returns: query