code: public boolean contains(String encoding) {
          if (encoding.equalsIgnoreCase("sendrecv") || 
                  encoding.equalsIgnoreCase("fmtp") ||
                  encoding.equalsIgnoreCase("audio") ||
                  encoding.equalsIgnoreCase("AS") || 
                  encoding.equalsIgnoreCase("IP4")) {
              return true;
          }
          for (int i = 0; i < count; i++) {
              if (md[i].contains(encoding)) {
                  return true;
              }
          }
          return false;
      }
docs: Checks that specified format is described by this sdp.
  
  @param encoding the encoding name of the format to check
  @return true if format with specified encoding present in sdp.