better check for boolean properties

Checking for "N" can easily mix with "N"/"Number".
Fixes t/spec/S05-mass/properties-general.t