def getInRangeFunc(low, high):
    """
    Return a callable that decides whether a float number is in (low, high)

    Parameters 
    ----------
    low, high : float
    
    Returns
    -------
    callable :: float -> bool
        When apply res to a float number, return whether the number is in (low, high) or not.
    """
    return lambda x: (x > low and x < high)