Javascript Find If Array Function In Python