[FIX] ODataTreeBinding: fix hasChildren function

Change-Id: Iea36b7faaba44cac0dd8fbc58a51469b612bb1d6
Merge "[FIX] ODataTreeBinding: fix hasChildren function"