code: def check_unassigned(self, data):
          
          for char in data:
              for lookup in self.unassigned:
                  if lookup(char):
                      raise StringprepError("Unassigned character: {0!r}"
                                                                  .format(char))
          return data
docs: Checks for unassigned character codes.