def METHOD_NAME(self, new_values, new_active_mask):
    """Check whether particles have moved out of the overall box.
    Parameters
    ----------
    new_values :
        New particle coordinates (depth, lat, lon) to be checked.
    new_active_mask :
        New active mask for the particles.
    Returns
    -------
    type
        True if box is still big enough, False if not.
    """
    if self._box is None:
        return False
    if new_active_mask is None:
        active_values = new_values
    else:
        active_values = new_values[:, new_active_mask]
    for i_dim in range(3):
        if np.any(active_values[i_dim, :] - self._box[i_dim][0] < 0):
            return False
        if np.any(active_values[i_dim, :] - self._box[i_dim][1] > 0):
            return False
    return True