static boolean namespaceExists(final Admin admin, final String namespaceName) throws IOException {
    try {
      admin.getNamespaceDescriptor(namespaceName);
    } catch (NamespaceNotFoundException e) {
      return false;
    }
    return true;
  }
Checks to see whether a namespace exists.
@param admin         Standard Admin object
@param namespaceName Name of namespace
@return true If namespace exists
@throws IOException If IO problem encountered
hbase-archetypes/hbase-shaded-client-project/src/main/java/org/apache/hbase/archetypes/exemplars/shaded_client/HelloHBase.java