code: def _add_extra_attributes(attrs, extra_attr_map):
      
      for attr in extra_attr_map:
          if attr not in attrs:
              attrs[attr] = extra_attr_map[attr]
      return attrs
docs: :param attrs:  Current Attribute list
      :param extraAttrMap:  Additional attributes to be added
      :return: new_attr