@classmethod
  def ValidateKey(cls, identity_key):
    if Identity.Canonicalize(identity_key) != identity_key:
      raise InvalidRequestError('Identity %s is not in canonical form.' % identity_key)
Validates that the identity key has a valid format and is canonicalized.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/identity.py/Identity.ValidateKey