parameters: (self, name)
return_statement: return False
docstring: 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
docstring_summary: 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
docstring_tokens: 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
function: def elementInActiveFormattingElements(self, name):
          """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"""
  
          for item in self.activeFormattingElements[::-1]:
              # Check for Marker first because if it's a Marker it doesn't have a
              # name attribute.
              if item == Marker:
                  break
              elif item.name == name:
                  return item
          return False
function_tokens: def elementInActiveFormattingElements ( self , name ) : for item in self . activeFormattingElements [ : : - 1 ] : # Check for Marker first because if it's a Marker it doesn't have a # name attribute. if item == Marker : break elif item . name == name : return item return False