Added isPartial flag into context to allow override the wrapper and check for partials;