<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _pidgin_status(status, message):
 """ Updates status and message for Pidgin IM application. `status` Status type. `message` Status message. """


    try:
        iface = _dbus_get_interface('im.pidgin.purple.PurpleService',
                                    '/im/pidgin/purple/PurpleObject',
                                    'im.pidgin.purple.PurpleInterface')
        if iface:

            # create new transient status
            code = PIDGIN_CODE_MAP[status]
            saved_status = iface.PurpleSavedstatusNew('', code)

            # set the message, if provided
            iface.PurpleSavedstatusSetMessage(saved_status, message)

            # activate status
            iface.PurpleSavedstatusActivate(saved_status)

    except dbus.exceptions.DBusException:
        pass