def to_isin(number): """Convert the number to an ISIN.""" from stdnum import isin return isin.from_natid('GB', number)