use new hasStaticContext method from pivot model