def checks_out(): projdir_correct = ( self.directory == connection.get_hwcode_projdir(hwcode)) active = redis_utils.hwcode_A_active(hwcode) return projdir_correct and active
def checks_out(): projdir_correct = (self.directory == connection.get_hwcode_projdir(hwcode)) active = redis_utils.hwcode_A_active(hwcode) return projdir_correct and active
def is_monitor_alive(self): return redis_utils.hwcode_A_active(self.hwcode)