Python Test If Variable Is Number 2