Reference reference = new Reference();
reference.setStore(SearchUtils.STORE);
reference.setUuid(uuid);
Predicate predicate = new Predicate();
predicate.setStore(SearchUtils.STORE);
predicate.setNodes(new Reference[]{reference});
Node node = NodeUtils.get(username, password, session, predicate);
if(node.getProperties()!=null){
NamedValue[] properties = node.getProperties();
boolean isDocument = ContentModelUtils.isDocument(properties);