[support] db query to find out if member has node of type X