add element_registered/1 API function