in src/aws_encryption_sdk/internal/arn.py [0:0]
def indicates_multi_region_key(self):
"""Returns True if this ARN indicates a multi-region key, otherwise False"""
# //= compliance/framework/aws-kms/aws-kms-key-arn.txt#2.8
# //# If resource type is "alias", this is an AWS KMS alias ARN and MUST
# //# return false.
# //= compliance/framework/aws-kms/aws-kms-key-arn.txt#2.8
# //# If resource type is "key" and resource ID does not start with "mrk-",
# //# this is a (single-region) AWS KMS key ARN and MUST return false.
# //= compliance/framework/aws-kms/aws-kms-key-arn.txt#2.8
# //# If resource type is "key" and resource ID starts with
# //# "mrk-", this is a AWS KMS multi-Region key ARN and MUST return true.
return self.resource_type == "key" and self.resource_id.startswith("mrk-")