Block teleport home if ZoneManager created a RaidBlock zone

How can I prevent players from teleporting home anywhere on the map, if their home is in a ZoneMananger zone that contains RaidBlock from NoEscape?

Thanks

Joey

        bool IsBlockedZone(Vector3 target)
        {
            foreach (var zone in zones.Values)
            {
                if (zone.Distance(target) <= raidDistance)
                {
                    return true;
                }
            }

            return false;
        }

I would need this API to do that from the author of NoEscape
Also might be possible to use a flag for that in ZoneManager but idk since I don't use the plugin much

Thanks for your reply!!