def is_asynchronous_message(self, message):
    return (isinstance(message, messages.ParameterStatus) or (isinstance(message, messages.NoticeResponse) and (not isinstance(message, messages.ErrorResponse))))
def is_asynchronous_message(self, message):
    return (isinstance(message, messages.ParameterStatus) or (isinstance(message, messages.NoticeResponse) and (not isinstance(message, messages.ErrorResponse))))