async def handle_frame(self, frame):
if isinstance(frame, FrameGetAllNodesInformationConfirmation):<EOL><INDENT>self.number_of_nodes = frame.number_of_nodes<EOL>return False<EOL><DEDENT>if isinstance(frame, FrameGetAllNodesInformationNotification):<EOL><INDENT>self.notification_frames.append(frame)<EOL><DEDENT>if isinstance(frame, FrameGetAllNodesInformationFinishedNotification):<EOL><INDENT>if self.number_of_nodes != len(self.notification_frames):<EOL><INDENT>PYVLXLOG.warning("<STR_LIT>")<EOL><DEDENT>self.success = True<EOL>return True<EOL><DEDENT>return False<EOL>
Handle incoming API frame, return True if this was the expected frame.