def is_in_range(val, range_min, range_max):
    """
    Checks if the specified value is within the given range.
    :param (int, float) val: Value to be evaluated.
    :param (int, float) range_min: Range lower value.
    :param (int, float) range_max: Range higher value.
    :return: Returns true if the value is within the range and false otherwise.
    :rtype: bool
    """
    return True if range_min <= val <= range_max else False
