<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def RemoveEventAttribute(self, attribute_name):
 """Removes an attribute from being set on all events produced. Args: attribute_name (str):
 name of the attribute to remove. Raises: KeyError: if the event attribute is not set. """

    if attribute_name not in self._extra_event_attributes:
      raise KeyError('Event attribute: {0:s} not set'.format(attribute_name))

    del self._extra_event_attributes[attribute_name]