restful_api.py
def verify_list(list1, list2):
    """
    Verifies whether all the elements are in both lists are identical

    Args:
        list1: This is a list with string values
        list2: This is a list with string values

    Returns:
        A boolean whether the lists contain the same values

    Raises:
        None
    """
    return all(elem in list1 for elem in list2)

    Verifies whether all the elements are in both lists are identical

    Args:
        list1: This is a list with string values
        list2: This is a list with string values

    Returns:
        A boolean whether the lists contain the same values

    Raises:
        None
    
Verifies whether all the elements are in both lists are identical
Args:
list1: This is a list with string values
list2: This is a list with string values

A boolean whether the lists contain the same values

None
Verifies whether all the elements are in both lists are identical Args : list1 : This is a list with string values list2 : This is a list with string values A boolean whether the lists contain the same values None
def verify_list(list1, list2):
    return all(elem in list1 for elem in list2)
def verify_list ( list1 , list2 ) : return all ( elem in list1 for elem in list2 )
Verifies whether all the elements are in both lists are identical
Args:
list1: This is a list with string values
list2: This is a list with string values
Verifies whether all the elements are in both lists are identical Args : list1 : This is a list with string values list2 : This is a list with string values
"""
    Verifies whether all the elements are in both lists are identical

    Args:
        list1: This is a list with string values
        list2: This is a list with string values

    Returns:
        A boolean whether the lists contain the same values

    Raises:
        None
    """
list1
list2