human
I wrote the below code

    def cantimport():
        try:
            __import__(modulename)
        except ImportError:
            return True
        else:
            return False
    return skip_if(cantimport)

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

def skip_if_unavailable(modulename):