public boolean isJcrType()

in src/main/java/org/apache/sling/query/impl/resource/jcr/SessionJcrTypeResolver.java [51:67]


    public boolean isJcrType(String name) {
        if (nodeTypeManager == null) {
            return false;
        }
        if (name == null || name.contains("/")) {
            return false;
        }
        try {
            nodeTypeManager.getNodeType(name);
            return true;
        } catch (NoSuchNodeTypeException e) {
            return false;
        } catch (RepositoryException e) {
            LOG.error("Can't check node type " + name, e);
            return false;
        }
    }