code: public static boolean isActiveNamingContext(final WComponent component) {
  		if (component instanceof NamingContextable) {
  			NamingContextable naming = (NamingContextable) component;
  			boolean active = naming.isNamingContext() && naming.getIdName() != null;
  			return active;
  		}
  		return false;
  	}
docs: Determine if this component is an active naming context.
  <p>
  Can only be considered active if an id name has been set and flagged as a naming context.
  </p>
  
  @param component the component to test for naming context
  @return true if component is an active naming context