Add an accessor method to allow clients to test if a given expression