detect if is a wiretree plugin or a module
function (raw) {
	if (typeof raw !== 'object' || raw === null || util.isArray( raw )) {
		return false;
	}
	if (raw.wiretree) {
		return true;
	}
	return false;
}