Typescript Object Array Includes Python Programming