code: def load_jupytext_config(nb_file):
      """Return the jupytext configuration file in the same folder, or in a parent folder, of the current file, if any"""
      config_file = find_jupytext_configuration_file(nb_file)
      if config_file is None:
          return None
      if os.path.isfile(nb_file) and os.path.samefile(
          config_file, nb_file
      ):
          return None
      config_file = find_jupytext_configuration_file(nb_file)
      return load_jupytext_configuration_file(config_file)
  
imports: import json
  import os
  import warnings
  import yaml
  from traitlets import Bool, Dict, Enum, Float, List, Unicode, Union
  from traitlets.config import Configurable
  from traitlets.config.loader import PyFileConfigLoader
  from traitlets.traitlets import TraitError
  from .formats import NOTEBOOK_EXTENSIONS, long_form_multiple_formats, long_form_one_format, short_form_multiple_formats
label_desc: Use image node_id 7 for calling a global function with example usage: load_jupytext_config(nb_file) and returns: load_jupytext_configuration_file, None, None