def METHOD_NAME(self, symbol: int, modifiers: int):
    if symbol == arcade.key.SPACE:
        if arcade.timings_enabled():
            arcade.disable_timings()
        else:
            arcade.enable_timings()