MatchesGlobalAssetIdLiterally🔗

Type: Pattern verification
Check that the text matches globalAssetId case-insensitive.
The case-insensitivity depends on the culture. For example in Turkish, uppercase "i" is "Ä°", not "I". We assume the culture to be English, and explicitly check for English case-folding.
text🔗
which needs to match globalAssetId literally
Return🔗
True if the text matches case-insensitive

Code

pattern = (
    '^[gG][lL][oO][bB][aA][lL][aA][sS][sS][eE][tT][iI][dD]$'
)
return match(
    pattern,
    text
) is not None