Typescript Check If Value Exist In Latent