Javascript Array Includes Part Of String In Python