code: def is_valid_uid(uid):
      
      pattern = r'^[A-Za-z][A-Za-z0-9]{10}$'
      if not isinstance(uid, string_types):
          return False
      return bool(re.compile(pattern).match(uid))
docs: :return: True if it is a valid DHIS2 UID, False if not