code: public static boolean hasMixin(final Node node) {
          try {
              return node.isNodeType(FEDORA_TIME_MAP);
          } catch (final RepositoryException e) {
              throw new RepositoryRuntimeException(e);
          }
      }
docs: Check if the JCR node has a fedora:TimeMap mixin
  @param node the JCR node
  @return true if the JCR node has the fedora:TimeMap mixin