python check if variable is not int