Typescript String Not In Array Python Initialize Two