Method code for $group.includes()

[Turn off line numbering]
  1: arg target;
  2: 
  3: if (!dict_contains(group, target)) {
  4:     if (this() == definer())
  5:         return 0;
  6: 
  7:     //   if (this() == definer())
  8:     //       return $sys.is_system(target);
  9:     return parents()[1].includes(target);
 10: }
 11: return 1;

// Created 01-Sep-1998 as a part of ColdCore, see: @help Credit

Tlon