<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_session(self, name=None):
 """ Create a lightning session. Can create a session with the provided name, otherwise session name will be "Session No." with the number automatically generated. """

        self.session = Session.create(self, name=name)
        return self.session