is.encapsulated_path function

Internal test for encapsulated_path