human
I wrote the below code

    if isinstance(dtype, (types.Float, types.Complex)):
        return np.isnan
    else:
        @register_jitable
        def _trivial_isnan(x):
            return False
        return _trivial_isnan

What's a good function header?

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

def get_isnan(dtype):