FluffyManager.Utilities_Livestock._shearable C# (CSharp) Method

_shearable() private static method

private static _shearable ( this pawn ) : bool
pawn this
return bool
        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;
        }