If we're modifying this from multiple threads, we should use an AtomicBoolean instead to make it threadsafe.