如果可能,将布尔
return
替换为等效的 if-then-else 语句。