private boolean syncTimestampIsRecent() {
try {
String timestamp = getMetadata(SYNC_TIMESTAMP);
if (timestamp == null)
return false;
ResourceFilter filter = ResourceFilterFactory
.getForRequest(Collections.singletonMap(
ResourceFilterFactory.LAST_MOD_PARAM, timestamp));
ResourceCollectionInfo changedFiles = new ResourceListing(
client.localCollection, filter);
return changedFiles.listResourceNames().isEmpty();