Is there a simple way to find if an interval of two numbers is overlapping with an interval of two other numbers? Let's say I estimated min - max of a dose which I would like to compare to the actual min - max of a dose. Something like this:

```
   # A tibble: 5 × 5
     ID Estimate_Min Estimate_Max Dose_Min Dose_Max
  <dbl>        <dbl>        <dbl>    <dbl>    <dbl>
1     1         18             25        7       14
2     2         15             22       10       13
3     3          3              8        4        5
4     4         11             12       18       20
5     5          0.5           18        6       12

```

Is the estimated dose overlapping with the actual dose?
And I would like to get:

```
 # A tibble: 5 × 6
     ID Estimate_Min Estimate_Max Dose_Min Dose_Max Overlap
  <dbl>        <dbl>        <dbl>    <dbl>    <dbl> <chr>  
1     1         18             25        7       14 FALSE  
2     2         15             22       10       13 FALSE  
3     3          3              8        4        5 TRUE   
4     4         11             12       18       20 FALSE  
5     5          0.5           18        6       12 TRUE   

```

Or better yet:

```
# A tibble: 5 × 6
     ID Estimate_Min Estimate_Max Dose_Min Dose_Max Overlap
  <dbl>        <dbl>        <dbl>    <dbl>    <dbl> <chr>  
1     1         18             25        7       14 OVER   
2     2         15             22       10       13 OVER   
3     3          3              8        4        5 IN     
4     4         11             12       18       20 BELLOW 
5     5          0.5           18        6       12 IN     

```

Where "IN" would mean that the estimated dose is at least partially overlapping with the actual dose.