hibbing-input-validation function

Internal functions for the 2RM wrapper