any_sparse_dense_in_interval function

Determine if there are any sparse or dense calculations requested within an interval