function validateFunction(driver, functionName) {
  if (typeof driver[functionName] !== 'function') {
    throw new Error(`${driver.id} missing ${functionName} implementation`);
  }
}
Validate that the driver implementation has a function by name provided
@param {object} driver
@param {string} functionName