macro to check if the field is localized or not

check if the localize flag is on, reference ticket #84