static public bool ContainsEffect(this IBotTask task) => 0 < task?.ApplicableEffects()?.Count();
public static bool ContainsEffect(this IBotTask task) { return(0 < task?.ApplicableEffects()?.Count()); }