code: def has_selections(self):
      return bool(self.pairs)
  
imports: from datasette import hookimpl
  from datasette.views.base import DatasetteError
  from datasette.utils.asgi import BadRequest
  import json
  import numbers
  from .utils import detect_json1, escape_sqlite, path_with_removed_args
label_desc: Use image node_id 5 for calling the Filters obj's underlying member method code with example usage: obj.has_selections() and returns: bool