<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def assert_interrupt_signal(library, session, mode, status_id):
 """Asserts the specified interrupt or signal. Corresponds to viAssertIntrSignal function of the VISA library. :param library: the visa library wrapped by ctypes. :param session: Unique logical identifier to a session. :param mode: How to assert the interrupt. (Constants.ASSERT*) :param status_id: This is the status value to be presented during an interrupt acknowledge cycle. :return: return value of the library call. :rtype: :class:`pyvisa.constants.StatusCode` """

    return library.viAssertIntrSignal(session, mode, status_id)