expose cleaner api to determine empty head.