contains-method for udf dictionary, fixes #17