docs: public static List<KeyedStateHandle> getKeyedStateHandles(
  		Collection<? extends KeyedStateHandle> keyedStateHandles,
  		KeyGroupRange subtaskKeyGroupRange) {
  
  		List<KeyedStateHandle> subtaskKeyedStateHandles = new ArrayList<>(keyedStateHandles.size());
  
  		for (KeyedStateHandle keyedStateHandle : keyedStateHandles) {
  			KeyedStateHandle intersectedKeyedStateHandle = keyedStateHandle.getIntersection(subtaskKeyGroupRange);
  
  			if (intersectedKeyedStateHandle != null) {
  				subtaskKeyedStateHandles.add(intersectedKeyedStateHandle);
  			}
  		}
  
  		return subtaskKeyedStateHandles;
  	}