Typescript Find Array Element In Python A Namespace