def getmodulename(path):
    info = getmoduleinfo(path)
    if info: return info[0]
Tells whether we've got a registered event by that name.
dataset/ETHPy150Open cournape/Bento/bento/compat/inspect.py/getmodulename--crossover with--dataset/ETHPy150Open spantaleev/sijax-python/sijax/core.py/Sijax.has_event