'Checks if an abort signal had been sent.
If the \'skipsleep\' config option for this account had been set,
with `set_abort_event(config, 1)` it will get cleared in this
function. Ie, we will only skip one sleep and not all.
:returns: True, if the main thread had called
:meth:`set_abort_event` earlier, otherwise \'False\'.'

def get_abort_event(self):

    skipsleep = self.getconfboolean('skipsleep', 0)
    if skipsleep:
        self.config.set(self.getsection(), 'skipsleep', '0')
    return (skipsleep or Account.abort_soon_signal.is_set() or Account.abort_NOW_signal.is_set())
