code: public boolean matches(String queryJSON) {
  		QueryContainer queryContainer;
  		try {
  			queryContainer = QueryContainer.fromJSON(queryJSON);
  		} catch (JSONException e) {
  			return false;
  		}
  
  		SPFQuery query = queryContainer.getQuery();
  		String callerApp = queryContainer.getCallerAppId();
  		String userUID = queryContainer.getUserUID();
  		return analyzeWith(query, callerApp, userUID);
  	}
docs: Verifies if the local profile matches the given query.
  
  @see Query
  @param q
  @return