def is_in_stock(res_obj):
    """Checks if a product is in stock 

    Args:
        res_obj: requests_html response object of a canada computers product page

    Returns:
        bool: Is the product in stock
    """
    selector = '#pi-form > div.col-12.py-2 > div.pi-prod-availability > span:nth-child(2)'
    stock = res_obj.html.find(selector, first=True).text

    if stock == 'Not Available Online':
        return False
    return True