         return true
     }
     
+    /**
+     Returns HUD object if it's located in view's subviews.
+     
+     - parameter view: view to search for HUD.
+     
+     - returns: HUD object.
+     */
     public static func hudFromView(view: UIView) -> JPulseHUD? {
         let hud = view.subviews.filter { $0 is JPulseHUD }
         return hud.first as? JPulseHUD

    
    //MARK: - Internal Instances Functions
    
    internal func removeFromSuperViewAnimated(animated: Bool, completion: JPulseHUDCompletion? = nil) {
        if animated {
            UIView.animateWithDuration(hideAnimationDuration, delay: 0, options: .CurveEaseOut, animations: { [weak self] in
                self?.alpha = 0
            }) { [weak self] (_) in
                self?.removeFromSuperview()
                completion?()
            }
        } else {
            removeFromSuperview()
            completion?()
        }
    }
    

        return delay + seedValues.2
    }
}

internal class JPulseLayer: CAShapeLayer {
    
