parameters: (value)
docstring: Validates Task Creation Mode is known value
docstring_summary: Validates Task Creation Mode is known value
docstring_tokens: Validates Task Creation Mode is known value
function: def is_known_task_creation_mode(value):
      """ Validates Task Creation Mode is known value """
      try:
          TaskCreationMode[value.upper()]
      except KeyError:
          raise ValidationError(
              f"Unknown taskCreationMode: {value} Valid values are {TaskCreationMode.GRID.name}, "
              f"{TaskCreationMode.ARBITRARY.name}"
          )
function_tokens: def is_known_task_creation_mode ( value ) : try : TaskCreationMode [ value . upper ( ) ] except KeyError : raise ValidationError ( f"Unknown taskCreationMode: {value} Valid values are {TaskCreationMode.GRID.name}, " f"{TaskCreationMode.ARBITRARY.name}" )