def METHOD_NAME(self, data: DataDictBase) -> bool:
    """
    Validations performed:
    * only compatible data fields can be selected.
    """
    if data is None:
        return True
    for elt in self.selectedData:
        if elt not in data:
            self.node_logger.warning(
                f'Did not find selected data {elt} in data. '
                f'Clearing the selection.'
            )
            self._selectedData = []
    if len(self.selectedData) > 0:
        allowed_axes = data.axes(self.selectedData[0])
        for d in self.selectedData:
            if data.axes(d) != allowed_axes:
                self.node_logger.error(
                    f'Datasets {self.selectedData[0]} '
                    f'(with axes {allowed_axes}) '
                    f'and {d}(with axes {data.axes(d)}) are not compatible '
                    f'and cannot be selected simultaneously.'
                    )
                return False
    return True