You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: condition_helpers.rs
    path of file: ./repos/dprint/crates/core/src/formatting
    
    the code of the file until where you have to start completion: use super::ConditionResolverContext;
use super::LineAndColumn;
use super::LineNumber;
use super::LineStartIndentLevel;

pub fn is_multiple_lines(condition_context: &mut ConditionResolverContext, start_ln: LineNumber, end_ln: LineNumber) -> Option<bool> {
  let start_ln = condition_context.resolved_line_number(start_ln)?;
  let end_ln = condition_context.resolved_line_number(end_
    
pub fn is_hanging(condition_context: &mut ConditionResolverContext, start_lsil: LineStartIndentLevel, end_lsil: Option<LineStartIndentLevel>) -> Option<bool> {
  let start_indent_level = condition_context.resolved_line_start_indent_level(start_lsil)?;
  let end_indent_level = resolved_end_lsil(condition_context, end_lsil)?;
  return Some(end_indent_level > start_indent_level);

  fn resolved_end_lsil(condition_context: &mut ConditionResolverContext, end_lsil: Option<LineStartIndentLevel>) -> Option<u8> {
    if let Some(end_lsil) = end_lsil {
      condition_context.resolved_line_start_indent_level(end_lsil)
    } else {
      // use the current condition position
      Some(condition_context.writer_info.line_start_indent_level)
    }
  }
}