Is it possible to check for this and if so how would this statement look like ?
For example it would be within this function:
operator int()const;