public static bool hasTestes(this RacePubertySetting that, Hediff x) { return(First(that.Organs(BodyPartsByRace.Male), y => y == x.def) != null); }
public static bool hasBioOrgan(this RacePubertySetting that, Hediff x) { return(First(that.Organs(), y => y == x.def) != null); }