code: def get_jamo_class(jamo):
      
      # TODO: Perhaps raise a separate error for U+3xxx jamo.
      if jamo in JAMO_LEADS or jamo == chr(0x115F):
          return "lead"
      if jamo in JAMO_VOWELS or jamo == chr(0x1160) or\
              0x314F <= ord(jamo) <= 0x3163:
          return "vowel"
      if jamo in JAMO_TAILS:
          return "tail"
      else:
          raise InvalidJamoError("Invalid or classless jamo argument.", jamo)
docs: Determine if a jamo character is a lead, vowel, or tail.
      Integers and U+11xx characters are valid arguments. HCJ consonants are not
      valid here.
  
      get_jamo_class should return the class ["lead" | "vowel" | "tail"] of a
      given character or integer.
  
      Note: jamo class directly corresponds to the Unicode 7.0 specification,
      thus includes filler characters as having a class.