'Check if an element exists between the end of the active
formatting elements and the last marker. If it does, return it, else
return false'

def elementInActiveFormattingElements(self, name):

    for item in self.activeFormattingElements[::(-1)]:
        if (item == Marker):
            break
        elif (item.name == name):
            return item
    return False
