added ability to check if a key has timeod out