Need help with a Custom empty? function

What would you propose? I was a bit sharp, but hostile… hm.