Add Validation Utilities

@dpetrovics , I need these for my validator pull req in racehub.