This `empty` check is only available in php 5.5+