This could be `!is_string($data) || $data === ''`