def METHOD_NAME(self, context):
    """Get the imported resource
    Returns `None` if module was not found.
    """
    if self.level == 0:
        return context.project.find_module(self.module_name, folder=context.folder)
    else:
        return context.project.find_relative_module(
            self.module_name, context.folder, self.level
        )