code: function (fieldDefinition, fieldName) {
  		const fieldType = propertyHelper.getFieldType(fieldDefinition);
  
  		if (fieldType === 'boolean') {
  			// it is a boolean field. Create the cehcks
  			return createChecks(fieldDefinition, fieldName);
  		}
  	}
docs: Creates the checks for checking boolean values
  @param fieldDefinition The field_definition for this field.
  @param fieldName The name of the current field