containsTrait:

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

Declaration

- (BOOL) containsTrait:(UITrait) trait;