def safe_index(lst, index):
    """
    Returns the element at the specified position in the list if it exists.

    Args:
        lst (list): The input list.
        index (int): The index of the desired element.

    Returns:
        The element at the specified position or None if out of range.
    """
    return lst[index] if index < len(lst) else None