def _get_item_at_index(list, index):
    """Returns the item if it exists, otherwise returns None"""
    if len(list) == 0:
        return None
    if index >= 0 and index < len(list):
        return list[index]
    return None