private static bool _shearable( this Pawn pawn ) { var comp = pawn?.TryGetComp<CompShearable>(); object active = false; if ( comp != null ) { active = comp.GetPrivatePropertyValue( "Active" ); } return (bool) active; }