Is there a specific reason for this check?
While correct, it seems unnecessarily paranoid.