Added method to check if a given managed object context is the default context.