You could keep this check outside the lock, it'll speed up concurrent method calls and locking is only needed when you change the list anyway.