human
Complete the below
def check_messages(*messages):

    ''''decorator to store messages that are handled by a checker method'
    '''
 ... Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
    def store_messages(func):
        func.checks_msgs = messages
        return func
    return store_messages