added functionality to validatorTrait class to determine if all keys in one array are set in another with tests