Checks if a value is numeric and strictly between two other values.
isInOpenInterval(x, lower = 0, upper = 1)Value to be checked. Needs to be numeric.
Lower bound. Default value is 0.
Upper bound. Default value is 1.
If numeric, and strictly greater than lower and
strictly smaller than upper, then return TRUE.
Else return FALSE.