rect.containsRect(r)
Return true if the rectangle r is (completely) inside the rectangle (inclusive). Return false otherwise.
true
r
false