Whether the given rock matches the current query.
bool filter(Rock rock) => rock.name.toLowerCase().contains(query) || rock.description.toLowerCase().contains(query);