Support unique function in list, without parameters or with boolean parameter