Changed the boolean flag to function returning valid criteria for few methods in assumption class.