code: def once(func):
      @functools.wraps(func)
      def wrapper(*args, **kwargs):
          if not hasattr(func, "always_returns"):
              func.always_returns = func(*args, **kwargs)
          return func.always_returns
  
      return wrapper
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/ssl_support.py
imports: import os
  import socket
  import atexit
  import re
  import functools
  from setuptools.extern.six.moves import urllib, http_client, map, filter
  from pkg_resources import ResolutionError, ExtractionError
label_desc: Use image node_id 2 for calling a global function with example usage: once(func) and returns: wrapper, func