Type guard to check if a string is a valid Session ID
String to validate
true if the value matches Session ID format
if (isSessionID("P9-2024-11-20")) { const id = "P9-2024-11-20" as SessionID;} Copy
if (isSessionID("P9-2024-11-20")) { const id = "P9-2024-11-20" as SessionID;}
Type guard to check if a string is a valid Session ID