public boolean isBold(){
  return modifiers.contains(SGR.BOLD);
}

public boolean isBold ( ) { return modifiers . contains ( SGR . BOLD ) ; }
returns true if this textcharacter has the bold modifier active
