def METHOD_NAME(self):
    self.logger.log('')
    self.logger.log('[*] Checking IA32_DEBUG_INTERFACE MSR status')
    TestFail = ModuleResult.PASSED
    for tid in range(self.cs.msr.get_cpu_thread_count()):
        dbgiface = self.cs.read_register('IA32_DEBUG_INTERFACE', tid)
        IA32_DEBUG_INTERFACE_DEBUGENABLE = self.cs.get_register_field('IA32_DEBUG_INTERFACE', dbgiface, 'ENABLE') == 1
        IA32_DEBUG_INTERFACE_DEBUGELOCK = self.cs.get_register_field('IA32_DEBUG_INTERFACE', dbgiface, 'LOCK') == 1
        IA32_DEBUG_INTERFACE_DEBUGEOCCURED = self.cs.get_register_field('IA32_DEBUG_INTERFACE', dbgiface, 'DEBUG_OCCURRED') == 1
        if self.logger.VERBOSE:
            self.cs.print_register('IA32_DEBUG_INTERFACE', dbgiface)
        if IA32_DEBUG_INTERFACE_DEBUGENABLE:
            self.logger.log_bad('CPU debug enable requested by software.')
            self.is_enable_set = True
            TestFail = ModuleResult.FAILED
        if not IA32_DEBUG_INTERFACE_DEBUGELOCK:
            self.logger.log_bad('CPU debug interface is not locked.')
            self.is_lock_set = False
            TestFail = ModuleResult.FAILED
        if IA32_DEBUG_INTERFACE_DEBUGEOCCURED:
            self.logger.log_important('Debug Occurred bit set in IA32_DEBUG_INTERFACE MSR')
            self.is_debug_set = True
            if TestFail == ModuleResult.PASSED:
                TestFail = ModuleResult.WARNING
        if TestFail == ModuleResult.PASSED:
            self.logger.log_good('CPU debug interface state is correct.')
    return TestFail