Python Check If Variable Is Int