Use isEmpty()

Authored by mlaurent on Dec 1 2018, 4:33 PM.