code: def _parseIsComment(self):
          
          self._iscomment = (
              self._element.startswith("<!--") and self._element.endswith("-->")
          )
docs: Detect whether the element is HTML comment or not.
  
          Result is saved to the :attr:`_iscomment` property.