rather than `isset` maybe use `is_string`?