code: def _getAttrMap(self):
          
          if not getattr(self, 'attrMap'):
              self.attrMap = {}
              for (key, value) in self.attrs:
                  self.attrMap[key] = value
          return self.attrMap
docs: Initializes a map representation of this tag's attributes,
          if not already initialized.