private static boolean isPortJbiEnabled(ServiceRefPortInfo portInfo) {
   if (portInfo != null) {
     String value = portInfo.getStubPropertyValue(JBI_ENABLED);
     logger.log(Level.FINEST, "JBI_ENABLED flag value is : " + value);
     return "true".equals(value);
   } else {
     // This means the deployer did not resolve the port to
     // which this SEI is mapped, return false;
   }
   return false;
 }