def METHOD_NAME(output: str) -> List[sample.Sample]:
  """Creates samples containing metrics.
  Args:
    output: string, command output
  Returns:
    whether the result is valid or invalid.
  """
  results = regex_util.ExtractAllMatches(r'Result is : (\S+)', output)
  return results[0] == 'VALID'