isinstance of str not string