is_phinterval function

Test if the object is a phinterval