def IsCoreSimulatorCrash(sim_sys_log):
    "Checks if CoreSimulator crashes.\n\n  Args:\n    sim_sys_log: string, the content of the simulator's system.log.\n\n  Returns:\n    True if the CoreSimulator crashes.\n  "
    pattern = re.compile(_PATTERN_CORESIMULATOR_CRASH)
    return (pattern.search(sim_sys_log) is not None)
Checks if CoreSimulator crashes.

Args:
  sim_sys_log: string, the content of the simulator's system.log.

Returns:
  True if the CoreSimulator crashes.
def IsCoreSimulatorCrash(sim_sys_log):
    "Checks if CoreSimulator crashes.\n\n  Args:\n    sim_sys_log: string, the content of the simulator's system.log.\n\n  Returns:\n    True if the CoreSimulator crashes.\n  "
    pattern = re.compile(_PATTERN_CORESIMULATOR_CRASH)
    return (pattern.search(sim_sys_log) is not None)