public boolean isUnderlined(){
  return modifiers.contains(SGR.UNDERLINE);
}

public boolean isUnderlined ( ) { return modifiers . contains ( SGR . UNDERLINE ) ; }
returns true if this textcharacter has the underline modifier active
