def valid_range(minimum, maximum, variable):
    """
    Check range of valid values
        :param minimum: Minimum value
        :param maximum: Maximum value
        :param variable: Check value
        :return: True - value is valid
    """
    if (variable >= minimum) and (variable <= maximum):
        result = True
    else:
        result = False
    return result