code: def is_interactive(self):
      return isinstance(self, InteractiveUI)
  
imports: from logging import getLogger
  import os
  import sys
  import time
  import getpass
  from collections import deque
  from copy import copy
  from ..utils import auto_repr
  from ..utils import on_windows
  from .base import InteractiveUI
  from datalad.support.exceptions import CapturedException
label_desc: Use image node_id 5 for calling the ConsoleLog obj's underlying member method code with example usage: obj.is_interactive() and returns: isinstance