Key is not down

is there a way to detect if a key is not down like:

if(!Key.isDown){
}