code: def check_options_are_valid(options):
      """Checks that all the options chosen make sense together."""
  
      # Check for general flags (shared for DeepVariant and DeepTrio).
      make_examples_options.check_options_are_valid(
          options, main_sample_index=MAIN_SAMPLE_INDEX
      )
  
      sample_names = [s.name for s in options.sample_options]
      if len(sample_names) != len(set(sample_names)):
          raise ValueError(
              "--sample_names cannot contain duplicate names."
          )
  
file_path: deepvariant/deepvariant/multisample_make_examples.py
imports: import os
  from absl import app
  from absl import flags
  from deepvariant import logging_level
  from deepvariant import make_examples_core
  from deepvariant import make_examples_options
  from deepvariant.protos import deepvariant_pb2
  from third_party.nucleus.io.python import hts_verbose
  from third_party.nucleus.util import errors
  from third_party.nucleus.util import proto_utils
label_desc: Use image node_id 3 for calling a global function with example usage: check_options_are_valid(options) without return types