/lib/systemd/system-generators/netplan is in netplan.io 0.40.1~18.04.4.
This file is owned by root:root, with mode 0o777.
It is a symlink to /lib/systemd/system-generators/../../netplan/generate
/lib/systemd/system-generators/../../netplan/generate