Added UIView.hasConstraint() method