Yep. Weight-on-wheels switch on most aircraft. But this can be bypassed during maintenance...can work in tandem with other lock outs such as preventing the landing gear from functioning while on the ground (“on deck” for sailors..even ashore). I’m a former naval aviation mechanic by the way. :)