python check if variable is not integer