public static boolean isGenericStreamPartitionDataElementKey(byte[] key){
  return Arrays.equals(key,KLVPacket.GENERIC_STREAM_PARTITION_DATA_ELEMENT_KEY);
}

public static boolean isGenericStreamPartitionDataElementKey ( byte [ ] key ) { return Arrays . equals ( key , KLVPacket . GENERIC_STREAM_PARTITION_DATA_ELEMENT_KEY ) ; }
checks if the key corresponding to the klv packet is a generic stream partition data element key .
