isKeyConform now can throw error with std message and type if requested