def METHOD_NAME(self):
    if self.xpoints and self.ypoints is not None:
        self.report_items((
            ("Number of points in the X direction", int(self.xpoints)),
            ("Number of points in the Y direction", int(self.ypoints))
        ))
    else:
        return