Javascript Find Element In Array And Arraylist In Python