code: public static boolean isValid( String packaging )
      {
          return MSBUILD_SOLUTION.equals( packaging ) 
                  || EXE.equals( packaging ) 
                  || DLL.equals( packaging ) 
                  || LIB.equals( packaging );
      }
docs: Test whether a packaging is a valid MSBuild packaging
  @param packaging string to test
  @return true if the packaging is valid for MSBuild