public static boolean isPathPresent(MaskTree filter, PathSpec path)
  {
    return !getPresentPaths(filter, Collections.singleton(path)).isEmpty();
  }
@Test
  public void testEmptyFilter()
  {
    final MaskTree filter = new MaskTree();

    Assert.assertFalse(ProjectionUtil.isPathPresent(filter, new PathSpec("foo")));
  }