Python Check If Integer Or String