Keypad status checking functions