}
public boolean isMovable(CMObject node) {
if (!node.isSubTypeOf(ContentModel.TYPE_FOLDER)) {
if (node.hasAspect(ContentModel.ASPECT_LOCKABLE)) {
LockStatus lockStatus = serviceRegistry.getLockService().getLockStatus(node.getNodeRef());
if (lockStatus == LockStatus.LOCKED || lockStatus == LockStatus.LOCK_OWNER) {
return false;
}
}
}