human
Complete the below
def at_install(flag):

    ''''Sets the at-install state of a test, the flag is a boolean specifying
    whether the test should (``True``) or should not (``False``) run during
    module installation.
    By default, tests are run right after installing the module, before
    starting the installation of the next module.'
    '''
assistant
#Here is the Python code you requested.
    def decorator(obj):
        obj.at_install = flag
        return obj
    return decorator