function isDom(obj) {
  return (
    obj &&
    typeof obj === 'object' &&
    obj.nodeType === 1 &&
    typeof obj.nodeName === 'string' &&
    typeof obj.getAttribute === 'function'
  );
}
@author suxiaoxin
@demo
<EasyDragSort data={()=>this.state.list} onChange={this.handleChange} >
{list}
</EasyDragSot>