Type guard to check if a string is a valid Political Group ID
String to validate
true if the value matches Group ID format
if (isGroupID("EPP")) { const id = "EPP" as GroupID;} Copy
if (isGroupID("EPP")) { const id = "EPP" as GroupID;}
Type guard to check if a string is a valid Political Group ID