How can I query this?

Apr 6, 2013 at 1:44 AM
I want to write a linq js statement
find this observable object (knockoutjs)
where object has isValid function and its value = true
Image

and what I want to select is "origin" and "portcode"