public boolean equalHeaders(Instances dataset){
  return (equalHeadersMsg(dataset) == null);
}

public boolean equalHeaders ( Instances dataset ) { return ( equalHeadersMsg ( dataset ) == null ) ; }
checks if two headers are equivalent .
