is_hole function

Test for empty intervals