just use ``if`` as the previous ``if`` throws an exception