[REF] - Simplify redundant calls to empty()
function
#32043
+25
−29
Merged