use varargs instead of array argument for RESUtils.isPageType()