What is the use of the "all" function in Python?