use general helper to check string empty