Sure I've tried it. I'm actually using console for testing such code snippets. Less page-related overhead. Of course we should check if `empty` is suitable, not blindly replacing it.