Or, parse the URL once, save the params as properties, and define isLinkDamaged() to validate each of the saved properties.