protected static boolean hasEncodedTagValue(Object obj,int tagValue){
  return (obj instanceof byte[]) && ((byte[])obj)[0] == tagValue;
}

protected static boolean hasEncodedTagValue ( Object obj , int tagValue ) { return ( obj instanceof byte [ ] ) && ( ( byte [ ] ) obj ) [ 0 ] == tagValue ; }
return true if obj is a byte array and represents an object with the given tag value .
