Expose static method via API to test if a string is a valid Internet domain name or not.
Test if it's a valid Internet domain before attempting to treat as an InternetDomainName.