def is_ip_in_range(ip, ip_range_start, ip_range_end):
    """Tells whether the given IP (in string format) is inside the range."""
    from .converter import ip2long
    return ip2long(ip_range_start) <= ip2long(ip) <= ip2long(ip_range_end)
