def METHOD_NAME(self):
    """
    Generate a cell to initialize Otter in the notebook.
    Returns:
        ``list[nbformat.NotebookNode]``: the init cell
    """
    if self.assignment.runs_on == "colab":
        args = "colab=True"
    elif self.assignment.runs_on == "jupyterlite":
        args = "jupyterlite=True"
    else:
        args  = f"\"{self.assignment.master.name}\""
    if self.assignment.tests.url_prefix:
        args += f", tests_url_prefix=\"{self.assignment.tests.url_prefix}\""
    contents = f'# Initialize Otter\nimport otter\ngrader = otter.Notebook({args})'
    cell = nbformat.v4.new_code_cell(contents)
    lock(cell)
    return [cell]