hasValue(data) {
    return !_.isUndefined(_.get(data || this.data, this.key));
  }
Returns if this component has a value set.
@param {any} data - The global data object.
@returns {boolean} - TRUE if a value is set.