def can_drop(self, node, data):

        # Determine the node type for this node.
        node_type = self.node_manager.get_node_type(node)

        return node_type.can_drop(node, data)
Returns True if a node allows an object to be dropped onto it.
dataset/ETHPy150Open enthought/pyface/pyface/tree/node_tree_model.py/NodeTreeModel.can_drop