public boolean evaluateCondition (AWRequestContext requestContext)
{
// defer to binding, if one was passed on the <BasicPageWrapper>
AWComponent parent = requestContext.getCurrentComponent().parent();
if (parent.hasBinding(BindingNames.hasSidebarNotch)) {
return parent.booleanValueForBinding(BindingNames.hasSidebarNotch);
}
if (requestContext.session(false) != null) {
WidgetsSessionState state = WidgetsSessionState.get(requestContext);
return state.hasSidebarNotch();
}