public boolean hasRemoteDownloadLock(String svcId){
  return svcId.equals(getRemoteDownloadLeader());
}

public boolean hasRemoteDownloadLock ( String svcId ) { return svcId . equals ( getRemoteDownloadLeader ( ) ) ; }
the method to check if the input node holds the non - persistent remote download lock
