This can be achieved with several conditions. This is not elegant, but I have not found another way to do this.
So, first enter each line that does not have the βCityβ attribute, and then add the βORβ condition to check the correct field value.
select count(*) from jsonbtest where NOT(attributes ? 'City') OR (attributes ? 'City') is NULL
source share