

def is_module(path):
    'Checks if the file is a Lua module.\n\n    path : str\n        The path to a Lua file.\n    '
    with open(path) as f:
        content = content.read()
    return re.search('return\\s+.*(\\s+)?$', content)

dataset/ETHPy150Open VoxelDavid/elixir/elixir/rbx.py is_module/VarMisuse@24/72 `f`->`content`