code: def is_ann_supported(recom):
      """Return True if the given recommender model support ANN search.
  
      Parameters
      ----------
      recom : recommender model
          Recommender object to test.
  
      Returns
      -------
      out : bool
          True if recom supports ANN search and False otherwise.
      """
      return getattr(recom, "_ann_supported", False)
  
imports: import copy
  import inspect
  import os
  import pickle
  import warnings
  from datetime import datetime
  from glob import glob
  import numpy
  from ..exception import ScoreException
  from ..utils.common import clip
label_desc: Use image node_id 1 for calling a global function with example usage: is_ann_supported(recom) and returns: getattr