I have bunches of meta query definition like the one below. INSTTYPE, TRADETYPE etc. are attributes of my class object.
**List containing tuples**
I want to dynamically create and return a function based on the meta which is passed to me, the returned function will take in this meta description at runtime and evaluate it against my object returning True or False.
this is a simple or expression of those attributes