public boolean isMainMenu ( ) { boolean bIsMainMenu = false ; if ( m_strMenu != null ) { if ( this . getTask ( ) != null ) if ( HtmlConstants . MAIN_MENU_KEY . equalsIgnoreCase ( this . getTask ( ) . getProperty ( DBParams . MENU ) ) ) bIsMainMenu = true ; if ( m_strMenu . equalsIgnoreCase ( HtmlConstants . MAIN_MENU_KEY ) ) bIsMainMenu = true ; else if ( ( ( this . getProperty ( DBParams . HOME ) == null ) || ( this . getProperty ( DBParams . HOME ) . length ( ) == 0 ) ) && ( DBConstants . ANON_USER_ID . equals ( this . getProperty ( DBParams . USER_ID ) ) ) ) bIsMainMenu = true ; } return bIsMainMenu ; }
Is this the user s main menu?