pub fn bool_optional( name: &str, properties: &Map<Value>, doc_id: &str, line_number: usize) -> Result<Option<bool>>