Javascript Find Element In Nested Array Python Example Class