human
I wrote the below code

    if (check_options is None):
        check_options = options
    def getname(n):
        return getattr(check_options, n, None)
    names = ['build_options', 'global_options', 'install_options']
    if any(map(getname, names)):
        control = options.format_control
        fmt_ctl_no_binary(control)
        warnings.warn('Disabling    all    use    of    wheels    due    to    the    use    of    --build-options    /    --global-options    /    --install-options.', stacklevel=2)

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

def check_install_build_global(options, check_options=None):