human
I wrote the below code

    def wrap(cls):
        if (not getattr(cls, 'samples', None)):
            cls.samples = [sample]
        else:
            cls.samples.append(sample)
        return cls
    return wrap

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def notification_sample(sample):