[add] has_readonly_dh method for node

First step to implementing different types of dataholders.
[minor] inlines, comments