function isInputComponent(componentJson) {
  if (componentJson.input === false || componentJson.input === true) {
    return componentJson.input;
  }
  switch (componentJson.type) {
    case 'htmlelement':
    case 'content':
    case 'columns':
    case 'fieldset':
    case 'panel':
    case 'table':
    case 'tabs':
    case 'well':
    case 'button':
      return false;
    default:
      return true;
  }
}
Returns if the component is an input component.
@param {import('@formio/core').Component} componentJson - The JSON of a component.
@returns {boolean} - TRUE if the component is an input component; FALSE otherwise.