How To Check If An Item Is An Integer Python