OdfUtils.isHyperlink() does this for you