ugly check for encrypted disk