Eng 6012 inexists sp

Checking for isEmpty just to bypass iteration is redundant.