functions-public: check to see if $1 exists in 'ctree'