• Check if the given structure is compatible with the given messages object.

    Parameters

    • messages: object
    • msgStructure: any

    Returns boolean