def check_repair_request():
 path = os.path.join(cfg.admin_dir.get_path(), REPAIR_REQUEST)
 if os.path.exists(path):
  try:
   os.remove(path)
  except:
   pass
  return True
 return False

def check_repair_request ( ) : path = os . path . join ( cfg . admin_dir . get_path ( ) , REPAIR_REQUEST ) if os . path . exists ( path ) : try : os . remove ( path ) except : pass return True return False
return true if repair request found .