public static <T> boolean contains(@Nullable List<T> list, T value) {
        return list != null && list.contains(value);
    }
Note that the method only checks the immutable classes used by Turms.
turms-server-common/src/main/java/im/turms/server/common/infra/collection/CollectionUtil.java