code: def paragraph_is_fully_commented(lines, comment, main_language):
      """Is the paragraph fully commented?"""
      for i, line in enumerate(lines):
          if line.startswith(comment):
              if line[len(comment) :].lstrip().startswith(comment):
                  continue
              if is_magic(line, main_language):
                  return False
              continue
          return i > 0 and _BLANK_LINE.match(line)
      return True
  
imports: import re
  import warnings
  from copy import copy
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_raw_cell
  from packaging.version import parse
  from .doxygen import doxygen_to_markdown
  from .languages import _SCRIPT_EXTENSIONS
  from .cell_metadata import is_active, is_json_metadata, rmd_options_to_metadata, text_to_metadata
  from .languages import _JUPYTER_LANGUAGES_LOWER_AND_UPPER
  from .magics import is_magic, need_explicit_marker, uncomment_magic, unescape_code_start
  from .pep8 import pep8_lines_between_cells
  from .stringparser import StringParser
label_desc: Use image node_id 2 for calling a global function with example usage: paragraph_is_fully_commented(lines, comment, main_language) and returns: True, unknown, False