code: def nope():
      """disable App Nap by setting NSActivityUserInitiatedAllowingIdleSystemSleep"""
      global _theactivity
      _theactivity = beginActivityWithOptions(
          NSActivityUserInitiatedAllowingIdleSystemSleep,
          "Because Reasons",
      )
  
file_path: catboost/contrib/python/appnope/py3/appnope/_nope.py
imports: from contextlib import contextmanager
  import ctypes
  import ctypes.util
label_desc: Use image node_id 6 for calling a global function with example usage: nope() without return types