Checking the lever handle and latch function