class DummyProfiler:
def enable(self):
"""Simulate enabling the profiler."""
def disable(self):
"""Simulate disabling the profiler."""
def __bool__(self):
"""We are not profiling."""
return False