isAdjacentOrContains

Returns whether the rectangle is adjacent or overlaps with the other.

Warning: rectangles that only touch each other via a corner such as (0, 0, 1, 1) and (1, 1, 1, 1) are not considered adjacent.