結果 : java null safe check if list is empty