<PackageReference Include="NUnit" Version="4.6.1" />

NUnit.Framework.Constraints.AttributeOperator

Operator that tests for the presence of a particular attribute on a type and optionally applies further tests to the attribute.
namespace NUnit.Framework.Constraints { }