function checkCalculated(component, submission, rowData) {
  // Process calculated value stuff if present.
  if (component.calculateValue) {
    _.set(rowData, component.key, evaluate(component.calculateValue, {
      value: undefined,
      data: submission ? submission.data : rowData,
      row: rowData,
      util: this,
      component
    }, 'value'));
  }
}
Checks the calculated value for a provided component and data.
@param {import('@formio/core').Component} component - The component to check for the calculated value.
@param {import('@formio/core').Submission} submission - A submission object.
@param {*} rowData - The contextual row data for the component.