Since this ``elif`` condition hasn't any similarity with the previous ``if`` condition I would prefer that to be an ``if``.