def are_same_length(list1, list2) -> bool:
    """Return True if length of two lists are the same.

    Args:
        list1 (list or tuple): a list to be checked.
        list2 (list or tuple): a list to be checked.

    Returns:
        bool: True if length of two lists are the same.
    """
    return len(list1) == len(list2)