src/basis/data.js
function isConnected(a, b){
    while (b && b !== a && b !== b.delegate)
      b = b.delegate;

    return b === a;
  }
function isConnected(a, b){
    while (b && b !== a && b !== b.delegate)
      b = b.delegate;

    return b === a;
  }
function isConnected ( a , b ) { while ( b && b !== a && b !== b . delegate ) b = b . delegate ; return b === a ; }
Returns true if object is connected to another object through delegate chain.
@param {basis.data.Object} a
@param {basis.data.Object} b
@return {boolean} Whether objects are connected.
Returns true if object is connected to another object through delegate chain .