def inrange(value: int, down_limit: int, top_limit: int) -> bool:
    """
    Check if number is in specified range and return bool.
    """
    if value in range(down_limit, top_limit + 1):
        return True
    else:
        return False