private boolean shardExistsInNode(final NodeGatewayStartedShards response){
  return response.storeException() != null || response.version() != -1;
}

private boolean shardExistsInNode ( final NodeGatewayStartedShards response ) { return response . storeException ( ) != null || response . version ( ) != - 1 ; }
a shard exists / existed in a node only if shard state file exists in the node
