Added isKeyTapped method.