code: def is_below(self, pos, index):
      rect = self.visualRect(index)
      margin = 2
      if pos.y() - rect.top() < margin:
          return False
      elif rect.bottom() - pos.y() < margin:
          return True
      # noinspection PyTypeChecker
      return (
          rect.contains(pos, True)
          and not (
              int(self.model().flags(index)) & Qt.ItemIsDropEnabled
          )
          and pos.y() >= rect.center().y()
      )
  
file_path: PaddleSeg/EISeg/eiseg/widget/table.py
imports: from qtpy import QtWidgets
  from qtpy.QtCore import Qt
label_desc: Use image node_id 4 for calling the TableWidget obj's underlying member method code with example usage: obj.is_below(pos, index) and returns: unknown, False, True