* Ex: if the context is [(r\a) => {r | age::a}], returns False
* Ex: if the context is [a], returns True
*/
private boolean isContextNonRecordPolymorphic() {
TypeExpr leastConstrainedContextType = getContext().getLeastConstrainedTypeExpr();
return (leastConstrainedContextType.rootTypeConsApp() != null &&
leastConstrainedContextType.rootTypeConsApp().getArg(0).rootRecordType() != null &&
!leastConstrainedContextType.rootTypeConsApp().getArg(0).rootRecordType().isRecordPolymorphic());
}
/**