parameters: (self, dpp: bool = False)
return_statement: return self.expr.is_convex()
docstring: A non-positive constraint is DCP if its argument is convex.
docstring_summary: A non-positive constraint is DCP if its argument is convex.
docstring_tokens: A non - positive constraint is DCP if its argument is convex .
function: def is_dcp(self, dpp: bool = False) -> bool:
          """A non-positive constraint is DCP if its argument is convex."""
          if dpp:
              with scopes.dpp_scope():
                  return self.expr.is_convex()
          return self.expr.is_convex()
function_tokens: def is_dcp ( self , dpp : bool = False ) -> bool : if dpp : with scopes . dpp_scope ( ) : return self . expr . is_convex ( ) return self . expr . is_convex ( )