<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_module_name(module):
 """ Return the module name. 'customer' 'openprovider' """

    name = module.__name__[:-6] if module.__name__.endswith('Module') else module.__name__
    return name.lower()