Method code for $root.is_of()

[Turn off line numbering]
  1: arg obj;
  2: 
  3: return obj in ancestors();

["// Created as a part of ColdCore, see: @help Credit"]

the Cold Dark