Added method for checking if unlock key is installed.