code: def support_scripting(self):
          
          if not hasattr(self, '_support_scripting'):
              try:
                  self._support_scripting = self.redis_version >= (2, 5) \
                      and hasattr(self.connection, 'register_script')
              except:
                  self._support_scripting = False
          return self._support_scripting
docs: Returns True if scripting is available. Checks are done in the client
          library (redis-py) AND the redis server. Result is cached, so done only
          one time.