def is_patch_applied():
    """Checks if the monkey patch was already applied
    """
    from Products.SiteErrorLog.SiteErrorLog import SiteErrorLog
    from collective.logbook.monkey import raising
    actual_raising = getattr(SiteErrorLog.raising, 'im_func', SiteErrorLog.
        raising)
    return actual_raising is raising
