chore(hintCtrl): remove use of isEmpty variable