Python See If Variable Is An Integer