human
Complete the below
def check_package_data_first(command):

    ''''decorator for checking package_data before running a given command
    Probably only needs to wrap build_py'
    '''
 ... Write me a the Python code you requested?
assistant
#Here is the Python code you requested.
    class DecoratedCommand(command, ):
        def run(self):
            check_package_data(self.package_data)
            command.run(self)
    return DecoratedCommand