def METHOD_NAME(self, values):
    """Check if chape of values is OK"""
    (ncol, nrow, nlay) = values.shape
    if ncol != self._ncol or nrow != self._nrow or nlay != self._nlay:
        logger.error(
            "Wrong shape: Dimens of values %s %s %s" "vs %s %s %s",
            ncol,
            nrow,
            nlay,
            self._ncol,
            self._nrow,
            self._nlay,
        )
        return False
    return True