Some d100 or d% systems have mechanics for when a d100 is rolled and the result is doubles. These mechanics may be different from a critical success/critical failure. Adding this helper function would allow better d100 system support without players needing to use an API.