<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_loader(self, loader, destructor, state):
 """ Override the default disk loader with a custom loader fn. """

        return lib.zcertstore_set_loader(self._as_parameter_, loader, destructor, state)