add convenience function to validate joinrets