public boolean hasLock() {
    try {
      return DLFolderServiceUtil.hasFolderLock(getFolderId());
    } catch (Exception e) {
    }

    return false;
  }
  public static boolean hasFolderLock(long folderId) throws RemoteException {
    try {
      boolean returnValue = DLFolderServiceUtil.hasFolderLock(folderId);

      return returnValue;
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }