async def handle_frame(self, frame):
if isinstance(frame, FrameGetNodeInformationConfirmation) and frame.node_id == self.node_id:<EOL><INDENT>return False<EOL><DEDENT>if isinstance(frame, FrameGetNodeInformationNotification) and frame.node_id == self.node_id:<EOL><INDENT>self.notification_frame = frame<EOL>self.success = True<EOL>return True<EOL><DEDENT>return False<EOL>
Handle incoming API frame, return True if this was the expected frame.