dding further variants for the has operation:
- now allows to specify a data type as well as check for the existence
of a child at a certain path