contains(_:)

Returns a Boolean value that indicates whether the trait overrides contain a change for the trait you provide.

Declaration

func contains(_ trait: UITrait) -> Bool