Replace empty string check with empty()