Tobool from object not string