code: def ends_in_comment_or_string(src):
      """Indicates whether or not an input line ends in a comment or within
      a multiline string.
  
      Parameters
      ----------
      src : string
        A single line input string.
  
      Returns
      -------
      comment : bool
          True if source ends in a comment or multiline string.
      """
      toktypes = _line_tokens(src)
      return (tokenize2.COMMENT in toktypes) or (
          _MULTILINE_STRING in toktypes
      )
  
imports: import abc
  import functools
  import re
  from IPython.core.splitinput import LineInfo
  from IPython.utils import tokenize2
  from IPython.utils.openpy import cookie_comment_re
  from IPython.utils.py3compat import with_metaclass, PY3
  from IPython.utils.tokenize2 import generate_tokens, untokenize, TokenError
label_desc: Use image node_id 13 for calling a global function with example usage: ends_in_comment_or_string(src) and returns: unknown