public static boolean isPathPresent(MaskTree filter, PathSpec path)
  {
    return !getPresentPaths(filter, Collections.singleton(path)).isEmpty();
  }
@Test
  public void testNullFilter()
  {
    Assert.assertTrue(ProjectionUtil.isPathPresent(null, new PathSpec("foo")));
  }