check if attribute is ascii