Get query string param that has no value
A parameter with no value set returns an empty string '' for craft.request.getParam(). But if the whole parameter is not included at all, it returns null.

This means you can test for null (→ see Twig docs) like so:

{% if craft.request.getParam('myparam') is not null %}
    My Parameter is included in the query string!
{% endif %}