virtualenv.py: simplify is_armed(), do not make global imports