code: static double callLegacy(PageContext pc, Array array, Object value) throws PageException {
  	String str = Caster.toString(value, null);
  	if (str != null) return ArrayUtil.arrayContainsIgnoreEmpty(array, str, false) + 1;
  	return ArrayFind.call(pc, array, value);
      }
docs: /* legacy implementation