<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_module_loaded(module):
 """Checks if a kernel module is already loaded"""

    matches = re.findall('^%s[ ]+' % module, lsmod(), re.M)
    return len(matches) > 0