Typescript Find Value In Array Python Methods And Classes