hasFlag(flag) {
    return this._hasFlag(this.flags, flag);
  }
Check if a provided flag is set.

@public
@memberof Annotation
@param {number} flag - Hexadecimal representation for an annotation
                       characteristic
@returns {boolean}
@see {@link shared/util.js}