def _is_subspan(self, m, span):
        """
        Tests if mention m is subspan of span, where span is defined
        specific to mention type.
        """
        return (
            m.sentence.id == span[0]
            and m.char_start >= span[1]
            and m.char_end <= span[2]
        )
def _is_subspan ( self , m , span ) : return ( m . sentence . id == span [ 0 ] and m . char_start >= span [ 1 ] and m . char_end <= span [ 2 ] )
Tests if mention m is subspan of span, where span is defined
        specific to mention type.