public/javascripts/yui/dragdrop/dragdrop-debug.js
function (oDD, oTargetDD) {
            var targets = this.getRelated(oDD, true);
            for (var i=0, len=targets.length;i<len;++i) {
                if (targets[i].id == oTargetDD.id) {
                    return true;
                }
            }

            return false;
        }
function (oDD, oTargetDD) {
            var targets = this.getRelated(oDD, true);
            for (var i=0, len=targets.length;i<len;++i) {
                if (targets[i].id == oTargetDD.id) {
                    return true;
                }
            }

            return false;
        }
function ( oDD , oTargetDD ) { var targets = this . getRelated ( oDD , true ) ; for ( var i = 0 , len = targets . length ; i < len ; ++ i ) { if ( targets [ i ] . id == oTargetDD . id ) { return true ; } } return false ; }
Returns true if the specified dd target is a legal target for
the specifice drag obj
@method isLegalTarget
@param {DragDrop} the drag obj
@param {DragDrop} the target
@return {boolean} true if the target is a legal target for the
dd obj
@static
Returns true if the specified dd target is a legal target for the specifice drag obj