human
I wrote the below code

    def to_dict(mismatch):
        return {'details': mismatch.get_details(), 'description': mismatch.describe()}
    if (expected is None):
        return Is(None)
    return AfterPreprocessing(to_dict, Equals(to_dict(expected)), annotate=False)

What's a good function header?

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

def is_equivalent_mismatch(expected):