Update util.py

Fix is_string impletation
Merge pull request #16 from laurentL/patch-1

fixes wrong `is_string()` call