check decoded struct validity