protected function primaryItemsAllowed( $nodes, $roleRefKey )
	{
		foreach ( $nodes as $nodeKey => $node )
		{
			if ( $this->nodeIsHypercube( $node ) ) return true;

			if ( ! isset( $node['children'] ) || ! count( $node['children'] ) ) continue;
			$result = $this->primaryItemsAllowed( $node['children'], $roleRefKey );
			if ( $result ) return true;
		}

		return false;
	}