Created simple query method "hasParameter(key)".