def METHOD_NAME(self):
    """Returns current state"""
    if self.door_interlock_state:
        if self.door_interlock_breakabled:
            self.door_interlock_final_state = "locked_active"
            msg = "Locked (unlock enabled)"
        else:
            self.door_interlock_final_state = "locked_inactive"
            msg = "Locked (unlock disabled)"
    else:
        self.door_interlock_final_state = "unlocked"
        msg = "Unlocked"
    if not self.ics_enabled:
        self.door_interlock_final_state = "error"
        msg = "Desy ICS error"
    if not self.use_door_interlock:
        self.door_interlock_final_state = "locked_active"
        msg = "Locked (unlock enabled)"
    self.emit("doorInterlockStateChanged", self.door_interlock_final_state, msg)
    return self.door_interlock_final_state, msg