     
     open func labelShouldScroll() -> Bool {
         // Check for nil string
-        if sublabel.text == nil {
+        guard sublabel.text != nil else {
             return false
         }
         
         // Check for empty string
-        if sublabel.text!.isEmpty {
+        guard !sublabel.text!.isEmpty else {
             return false
         }
         

        }
    }
    
    private func sublabelSize() -> CGSize {
        // Bound the expected size
        let maximumLabelSize = CGSize(width: CGFloat.greatestFiniteMagnitude, height: CGFloat.greatestFiniteMagnitude)
        // Calculate the expected size
        var expectedLabelSize = sublabel.sizeThatFits(maximumLabelSize)
        
        #if os(tvOS)
            // Sanitize width to 16384.0 (largest width a UILabel will draw on tvOS)
            expectedLabelSize.width = min(expectedLabelSize.width, 16384.0)
        #else
            // Sanitize width to 5461.0 (largest width a UILabel will draw on an iPhone 6S Plus)
            expectedLabelSize.width = min(expectedLabelSize.width, 5461.0)
        #endif

        // Adjust to own height (make text baseline match normal label)
        expectedLabelSize.height = bounds.size.height
        return expectedLabelSize
    }
    
    override open func sizeThatFits(_ size: CGSize) -> CGSize {
        var fitSize = sublabel.sizeThatFits(size)
        fitSize.width += leadingBuffer

        }
        
        // Calculate expected size
        let expectedLabelSize = sublabel.desiredSize()
        
        // Invalidate intrinsic size
        invalidateIntrinsicContentSize()
