python check if type is not int