No. Keystone is part of the Angelfire suite of spyware that was uploaded to WikiLeaks as Vault 7. Pegasus doesn't appear to come from that batch. It was first discovered in 2016 after someone tried uploading it onto an activist's phone. See wikipedia for more.