def return_first(arr: list):
    """
    Returns the first element in an array.
    :param arr:     Any list.
    :return:        The first element in the list.
    """
    return arr[0] if len(arr) > 0 else None