def get_top_level_indicator_node(root_node):
if root_node.tag != '<STR_LIT>':<EOL><INDENT>raise IOCParseError('<STR_LIT>'.format(root_node.tag))<EOL><DEDENT>elems = root_node.xpath('<STR_LIT>')<EOL>if len(elems) == <NUM_LIT:0>:<EOL><INDENT>log.warning('<STR_LIT>')<EOL>return None<EOL><DEDENT>elif len(elems) > <NUM_LIT:1>:<EOL><INDENT>log.warning('<STR_LIT>')<EOL>return None<EOL><DEDENT>else:<EOL><INDENT>top_level_indicator_node = elems[<NUM_LIT:0>]<EOL><DEDENT>if top_level_indicator_node.get('<STR_LIT>').lower() != '<STR_LIT>':<EOL><INDENT>log.warning('<STR_LIT>')<EOL><DEDENT>return top_level_indicator_node<EOL>
This returns the first top level Indicator node under the criteria node.

:param root_node: Root node of an etree.
:return: an elementTree Element item, or None if no item is found.