An alternative implementation for this method could be `return self.buttonStyles[@(button)] != nil;`