public static bool IsFillInAllowed(int permissions) { return (PdfWriter.ALLOW_FILL_IN & permissions) == PdfWriter.ALLOW_FILL_IN; }