How do i detect if key is not pressed

I need to simply detect if LeftShift is not pressed, i tried GetKeyUp, but it detects when the key is pressed and then relased but what about then you have never pressed the key, then it doesn’t work???

if(Input.GetKey(KeyCode.LeftShift) == false)