code: public RespokeEndpoint getEndpoint(String endpointIDToFind, boolean skipCreate) {
          RespokeEndpoint endpoint = null;
  
          if (null != endpointIDToFind) {
              for (RespokeEndpoint eachEndpoint : knownEndpoints) {
                  if (eachEndpoint.getEndpointID().equals(endpointIDToFind)) {
                      endpoint = eachEndpoint;
                      break;
                  }
              }
  
              if ((null == endpoint) && (!skipCreate)) {
                  endpoint = new RespokeEndpoint(signalingChannel, endpointIDToFind, this);
                  knownEndpoints.add(endpoint);
              }
  
              if (null != endpoint) {
                  queuePresenceRegistration(endpoint.getEndpointID());
              }
          }
  
          return endpoint;
      }
docs: Find an endpoint by id and return it. In most cases, if we don't find it we will create it. This is useful
  in the case of dynamic endpoints where groups are not in use. Set skipCreate=true to return null
  if the Endpoint is not already known.
  
  @param endpointIDToFind The ID of the endpoint to return
  @param skipCreate       If true, return null if the connection is not already known
  
  @return The endpoint whose ID was specified