code: private boolean doesPortMatch(String connectionObjPort, String remotePort) {
          boolean match = false;
  
          if (remotePort.equalsIgnoreCase(connectionObjPort))
              match = true;
  
          return match;
      }
docs: /*
  Method to check if port numbers match.