Pregunta de entrevista de BlackRock

In Python, write a function to check if a given string is in the ISIN (International Securities Identification Number) format, which consists of exactly 12 characters: the first two are uppercase letters (country code), followed by nine alphanumeric characters, and ending with a single numeric check digit. Return True if the string is valid and False otherwise.