changed some methods to boolean fields to match sympy style