Kevin Carlson wrote: > try this: > > if hasattr(context.data.news, object_id) : > ... If you don't want to be confused by aquiring objects from above, you should use something like: if hasattr(context.data.news.aq_explicit, object_id): -mj