<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate_driver(f):
 """Check driver on"""


    def check_driver(request):
        drivers = get_all_driver()
        drivers = filter(drivers, request)

        if drivers:
            return f(request, drivers)
        else:
            raise Exception('Driver is not found')

    return check_driver