extract equation check to public interface