Related-Bug:#1437178     Handled the null check and moved the code from common place to underlay specific page
Related-Bug:#1437178
    Handled the null check and moved the code from common place to underlay specific page

Change-Id: Ie256c8c458dc690a737b234a0d7710d53924e86d

nagakiran/contrail-web-core,biswajit-mandal/contrail-web-core,nagakiran/contrail-web-core,vishnuvv/contrail-web-core,hari-sk/contrail-web-core,biswajit-mandal/contrail-web-core,vishnuvv/contrail-web-core,nagakiran/contrail-web-core,hari-sk/contrail-web-core,biswajit-mandal/contrail-web-core,vishnuvv/contrail-web-core,hari-sk/contrail-web-core