Yes, with a Script Add-In, like so:
function OnInit(initData) {
initData.name = 'IsCollectionMember';
initData.version = '1.0';
initData.copyright = '';
initData.desc = '';
initData.default_enable = true;
initData.min_version = '12.0';
var col = initData.AddColumn();
col.method = 'OnIsCollectionMember';
col.name = 'IsCollectionMember';
col.label = 'IsCollectionMember';
col.header = 'IsCollectionMember';
col.justify = 'center';
col.defwidth = 6;
col.autorefresh = 1;
col.autogroup = true;
}
function OnIsCollectionMember(scriptColData) {
var fsu = DOpus.FSUtil();
scriptColData.value = 'no';
var file = String(scriptColData.item.realpath);
var folderEnum = fsu.ReadDir('coll://', 'r');
while (!folderEnum.complete) {
var folderItem = folderEnum.Next();
if (String(fsu.Resolve(folderItem)) != file) continue;
scriptColData.value = 'yes';
break;
}
}
ColumnIsCollectionMember.js.txt (962 Bytes)
Copy ColumnIsCollectionMember.js
to /scripts
, then pick the field in the FileType Editor: