Well, I just checked and found that would return True both for 01234567-8901-2345-6789-012345678901 (with dashes)  and 01234567890123456789012345678901 (without dashes).
Here we  want to validate the string in latter form from the user input to make sure it looks like a KS project ID (without dashes).