Simplify ValidGaOperand test function