It just checks the array, for the condition you gave, if atleast one element in the array passes the condition then it returns true else it returns false