Python Check If Variable Contains Number