def get_item(item_name, parent_menu):
    """
    Returns Item instance by the given name and parent menu
    :param item_name: str, name of the item to search for
    :param parent_menu: str, parent menu path
    :return: nativeItem or None
    """

    current_item = parent_menu.GetFirstItem()
    while current_item:
        if current_item.Caption == item_name:
            return current_item
            break
        current_item = parent_menu.GetNextItem(current_item)

    return None