python check if not integer