結果 : check if nested object is empty javascript