public bool IsBoolean() { return (this.type == BOOLEAN); }
public PdfBoolean GetAsBoolean(PdfName key) { PdfBoolean b = null; PdfObject orig = GetDirectObject(key); if (orig != null && orig.IsBoolean()) { b = (PdfBoolean)orig; } return(b); }