parameters: (self, query)
return_statement: return query.api_key.fallback_cache_expire and (
              (not query.blue and not query.wifi and len(query.cell) == 1)
              or (
                  not query.blue
                  and not query.cell
                  and query.wifi
                  and len(query.wifi) < 20
              )
              or (
                  not query.cell
                  and not query.wifi
                  and query.blue
                  and len(query.blue) < 20
              )
          )
docstring: Returns True if the query should be cached, otherwise False.
  
          A blue-only query with up to 20 Bluetooth networks will be cached.
  
          A cell-only query with a single cell will be cached.
  
          A wifi-only query with up to 20 WiFi networks will be cached.
  
          The 20 networks limit protects the cache memory from being
          exhausted.
  
          Queries with multiple cells or mixed blue, cell and wifi networks
          won't get cached.
docstring_summary: Returns True if the query should be cached, otherwise False.
docstring_tokens: Returns True if the query should be cached otherwise False .
function: def _should_cache(self, query):
          """
          Returns True if the query should be cached, otherwise False.
  
          A blue-only query with up to 20 Bluetooth networks will be cached.
  
          A cell-only query with a single cell will be cached.
  
          A wifi-only query with up to 20 WiFi networks will be cached.
  
          The 20 networks limit protects the cache memory from being
          exhausted.
  
          Queries with multiple cells or mixed blue, cell and wifi networks
          won't get cached.
          """
          return query.api_key.fallback_cache_expire and (
              (not query.blue and not query.wifi and len(query.cell) == 1)
              or (
                  not query.blue
                  and not query.cell
                  and query.wifi
                  and len(query.wifi) < 20
              )
              or (
                  not query.cell
                  and not query.wifi
                  and query.blue
                  and len(query.blue) < 20
              )
          )
function_tokens: def _should_cache ( self , query ) : return query . api_key . fallback_cache_expire and ( ( not query . blue and not query . wifi and len ( query . cell ) == 1 ) or ( not query . blue and not query . cell and query . wifi and len ( query . wifi ) < 20 ) or ( not query . cell and not query . wifi and query . blue and len ( query . blue ) < 20 ) )