(self, address)
return None
Checks if given pos is already colored
            returns False or highlighttype
Checks if given pos is already colored
            returns False or highlighttype
Checks if given pos is already colored returns False or highlighttype
def get_highlight(self, address):
        """ Checks if given pos is already colored
            returns False or highlighttype
        """
        is_highlight = [
            x for x in self._highlights
            if x.offset <= address <= x.offset + x.length - 1
        ]
        if is_highlight:
            if is_highlight[0]:
                return is_highlight[0]

        return None
def get_highlight ( self , address ) : is_highlight = [ x for x in self . _highlights if x . offset <= address <= x . offset + x . length - 1 ] if is_highlight : if is_highlight [ 0 ] : return is_highlight [ 0 ] return None