Check key using before validation callback