private static boolean isMergedSegment(String segName){
  if (segName.contains(".")) {
    return true;
  }
  return false;
}

private static boolean isMergedSegment ( String segName ) { if ( segName . contains ( "." ) ) { return true ; } return false ; }
to check if the segment is merged or not .
