def is_dcp(self): return not bu.any(self.cvx_mat & self.conc_mat)
def is_concave(self): return not bu.any(self.cvx_mat)
def is_convex(self): return not bu.any(self.conc_mat)
def is_affine(self): return not bu.any(self.cvx_mat | self.conc_mat)
def is_negative(self): return not bu.any(self.pos_mat)
def is_positive(self): return not bu.any(self.neg_mat)