checks whether the provided link is curved
$$("diagram").isCurveLink(link);
The method checks the link mode - if the mode is set to "curve", returns true.