def is_brand_of(self, brand_to_check, tweet_id):
        """Does tweet_id's tweet_text reference brand_to_check as the Company name?"""
        # deserialise_response
        response = sql_convenience.deserialise_response(tweet_id, self.destination_table)
        companies = self._get_list_of_companies(response)
        is_in_list = brand_to_check in set([item.lower() for item in companies])
        return is_in_list
dataset/ETHPy150Open ianozsvald/social_media_brand_disambiguator/ner_apis/opencalais/opencalais_ner.py/OpenCalaisNER.is_brand_of/original