<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_room(self, alias=None, is_public=False, invitees=None):
 """ Create a new room on the homeserver. Args: alias (str):
 The canonical_alias of the room. is_public (bool):
 The public/private visibility of the room. invitees (str[]):
 A set of user ids to invite into the room. Returns: Room Raises: MatrixRequestError """

        response = self.api.create_room(alias=alias,
                                        is_public=is_public,
                                        invitees=invitees)
        return self._mkroom(response["room_id"])