<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def belongsToModule(obj, module):
 """Returns True is an object belongs to a module."""

        return obj.__module__ == module.__name__ or obj.__module__.startswith(
            module.__name__)