Hi @Henric Åkesson
If you head over to the docs http://codex.wordpress.org/Class_Reference/WP_Query and jump down to the “Custom Field Parameters” section, you will see that each meta_query array can have a ‘compare’ attribute. Just set this to “EXISTS” to test if the custom field value exists.
Hope that helps.
Thanks
E