Rewrite check_input_state_is_set_boxrelay function
Function simplified to parse an array returned by the relay server that links each relay number (currently raspberry gpios) to a state 0 (low) or 1 (high). Removed older functions now uneeded Removed parameters, as this function is only used in change_input_boxrelay and inherits its local variables