def _CheckPrerequisites(self):
    if self.disk_specs and self.disk_specs[0].disk_type == disk.STANDARD:
      raise Exception('Currently only local disks are supported. Please '
                      're-run the benchmark with "--scratch_disk_type=local".')
    if not FLAGS.marathon_address:
      raise Exception('Please provide the address and port of Marathon '
                      'framework. Example: 10:20:30:40:8080')
Exits if any of the prerequisites is not met.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/mesos/mesos_docker_instance.py/MesosDockerInstance._CheckPrerequisites