New packages are module, which allows using packageName:-function() since it is
easier. Old packages use tables which needs packageName[function]() which is not
common.
To find if package is based on module or not, use the command
This will return true or false. To know if name is package use the command