nit: maybe `_checkIfCleared` would be more expressive