Doh, not how testing for a key in an object works