Make this a method so the comment isn't needed
check_if_partitions_overlap(args)