def METHOD_NAME(self, x):
    """Test whether all values of x are in interval range.
    Parameters
    ----------
    x : ndarray
        Array whose elements are tested to be in interval range.
    Returns
    -------
    result : bool
    """
    if self.low_inclusive:
        low = np.greater_equal(x, self.low)
    else:
        low = np.greater(x, self.low)
    if not np.all(low):
        return False
    if self.high_inclusive:
        high = np.less_equal(x, self.high)
    else:
        high = np.less(x, self.high)
    # Note: np.all returns numpy.bool_
    return bool(np.all(high))