Python Check If Variable Is Not An Integer