title: how to check if item is None in python scrapy
body: <p>If <code>item['business_name']</code> is equal to this <code>[]</code> or <code>None</code>. I want to delete it from query results.</p>
  
  <p>Instead it outputs this which is what i don't want, i only want query results that have a business name</p>
  
  <blockquote>
    <p><code>'business_name': [],</code></p>
  </blockquote>
  
  <p>this is what i have so far</p>
  
  <pre><code>class Item(scrapy.Item):
      business_name = scrapy.Field()
      website = scrapy.Field()
      phone_number = scrapy.Field()
  
  class QuotesSpider(scrapy.Spider):
  
      def parse(self, response):
          for business in response.css('div.info'):
              item = Item()
              item['business_name'] = business.css('span[itemprop="name"]::text').extract()
              if item['business_name'] is None :
                  break
              else:
                  item['website']  = business.css('div.links  a::attr(href)').extract_first()
                  item['phone_number'] = business.css('div.phones.phone.primary::text').extract()
                  yield item
  </code></pre>