Check before you assume something works.