Js Check If Array Of Strings Contains Method In Python