human
Complete the below
def defers(func):

    ''''Decorator to make sure a function always returns a deferred'
    '''
assistant
#Here is the Python code you requested.
    @wraps(func)
    def wrapped(*a, **kw):
        return defer.maybeDeferred(func, *a, **kw)
    return wrapped