def check_data_dimension(record: list, dimensions: int) -> bool:
    """
    The method checks if the dimension of a record is equal to the --dimensions-- parameter.

    Parameters
    ----------
    record : list
             Nested iterable.

    dimensions : int
                 Number of nested dimensions.

    Returns
    -------
    : bool
        True - dimensions are equal to a number of the nested sequences. False otherwise.
    """
    return len(record) == dimensions