def METHOD_NAME(self, event):
    """ Handles a key being pressed, and takes appropriate action if it is
    one of the history keys defined for this class.
    """
    self._history_handle_key(event)
    return