def has_item(self, hash_key, range_key=None, consistent_read=False):
        try:
            # Attempt to get the key. If it can't be found, it'll raise
            # an exception.
            self.get_item(hash_key, range_key=range_key,
                          # This minimizes the size of the response body.
                          attributes_to_get=[hash_key],
                          consistent_read=consistent_read)
        except dynamodb_exceptions.DynamoDBKeyNotFoundError:
            # Key doesn't exist.
            return False
        return True
Checks the table to see if the Item with the specified ``hash_key``
dataset/ETHPy150Open yyuu/botornado/boto/dynamodb/table.py/Table.has_item