Many people will FUNCTION
come to imitate, but it is not necessary.
You can use to instr (',' || ANCESTORS || ',', ',427,') != 0
search for a single item, or you can use to regexp_instr (',' || ANCESTORS || ',', ',427,|,381,') != 0
search for multiple items.