def METHOD_NAME(self):
    if CONTIPPSETUP.niInterfaceLib is None:
        try:
            CONTIPPSETUP.niInterfaceLib = CDLL("libNiInterface.so")
        except:
            Data.execute('DevLogErr($1,$2)', self.getNid(),
                         'Cannot load libNiInterface.so')
            raise mdsExceptions.TclFAILED_ESSENTIAL