class_docstr: Base class for Jupyter applications
docstr: Return whether we are dispatching to another command
  
  or running ourselves.
docstr_tok: ["Return","whether","we","are","dispatching","to","another","command","or","running","ourselves","."]
code: def _dispatching(self) -> bool:
      """Return whether we are dispatching to another command
  
      or running ourselves.
      """
      return bool(
          self.generate_config or self.subapp or self.subcommand
      )
  
imports: from __future__ import annotations
  import logging
  import os
  import sys
  import typing
  from copy import deepcopy
  from pathlib import Path
  from shutil import which
  from traitlets import Bool, List, Unicode, observe
  from traitlets.config.application import Application, catch_config_error
  from traitlets.config.loader import ConfigFileNotFound
  from .paths import allow_insecure_writes, issue_insecure_write_warning, jupyter_config_dir, jupyter_config_path, jupyter_data_dir, jupyter_path, jupyter_runtime_dir
  from .utils import ensure_dir_exists, ensure_event_loop
label_desc: Use image node_id 13 for calling the JupyterApp obj's underlying member method code with example usage: obj._dispatching() and returns: bool