public static boolean isClaimable(final NamespaceId namespaceId){
  NamespaceId current=namespaceId;
  do {
    if (NAMESPACE_ID_PARTS.contains(current.getLastPart())) {
      return false;
    }
    current=current.getParent();
  }
 while (null != current);
  return true;
}

public static boolean isClaimable ( final NamespaceId namespaceId ) { NamespaceId current = namespaceId ; do { if ( NAMESPACE_ID_PARTS . contains ( current . getLastPart ( ) ) ) { return false ; } current = current . getParent ( ) ; } while ( null != current ) ; return true ; }
gets a value indicating whether or not the given namespace id is claimable .
