code: function intersects (frame, otherFrame) {
    return !(otherFrame.x > frame.x + frame.width ||
             otherFrame.x + otherFrame.width < frame.x ||
             otherFrame.y > frame.y + frame.height ||
             otherFrame.y + otherFrame.height < frame.y);
  }
docs: Determine if 2 frames intersect each other
  
  @param {Frame} frame
  @param {Frame} otherFrame
  @return {Boolean}