code: def is_source_ip_already_locked(ip_address):
      
      if ip_address is None:
          return False
      if config.DISABLE_IP_LOCKOUT:
          return False
      return REDIS_SERVER.get(get_ip_blocked_cache_key(ip_address))
docs: Is this IP already locked?