Should you check that data is a string?