Javascript Finding Value In Array Python Example Class