Do not use method return value in empty()