code: public Boolean isInputFormat(ProvFormat format) {
          ProvFormatType t = provTypeMap.get(format);
          return (t.equals(ProvFormatType.INPUT) || 
                  t.equals(ProvFormatType.INPUTOUTPUT));
      }
docs: Determines whether this format received as argument is an input format.
  @param format a {@link ProvFormat}
  @return true if format is an input format