What do you think about an assertion that validates if the array meets the specified set of keys?
Assertion::keySet(['a' => 1], ['a']); // ok
Assertion::keySet(['a' => 1], ['a', 'b']); // not ok
Assertion::keySet(['a' => 1, 'b' => 1], ['a']); // not ok
What do you think about an assertion that validates if the array meets the specified set of keys?
Inspired by https://respect-validation.readthedocs.io/en/1.1/rules/KeySet/