public static bool IsIsolated(this Obj_AI_Base target) { return(target.CountEnemyHeroesInRangeWithPrediction(500) <= 1 && target.CountEnemyMinionsInRangeWithPrediction(500) == 0 && !target.IsUnderEnemyturret()); }