def ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item, raw_lines_no_comments, linenum):
 is_forward_declaration = IsForwardClassDeclaration(raw_lines_no_comments, linenum)
 if (not (is_namespace_indent_item or is_forward_declaration)):
  return False
 if IsMacroDefinition(raw_lines_no_comments, linenum):
  return False
 return IsBlockInNameSpace(nesting_state, is_forward_declaration)

def ShouldCheckNamespaceIndentation ( nesting_state , is_namespace_indent_item , raw_lines_no_comments , linenum ) : is_forward_declaration = IsForwardClassDeclaration ( raw_lines_no_comments , linenum ) if ( not ( is_namespace_indent_item or is_forward_declaration ) ) : return False if IsMacroDefinition ( raw_lines_no_comments , linenum ) : return False return IsBlockInNameSpace ( nesting_state , is_forward_declaration )
this method determines if we should apply our namespace indentation check .