parameters: (self)
docstring: Is the expression log-log convex?
docstring_summary: Is the expression log-log convex?
docstring_tokens: Is the expression log - log convex?
function: def is_log_log_convex(self) -> bool:
          """Is the expression log-log convex?
          """
          # Verifies DGP composition rule.
          if self.is_log_log_constant():
              return True
          elif self.is_atom_log_log_convex():
              for idx, arg in enumerate(self.args):
                  if not (arg.is_log_log_affine() or
                          (arg.is_log_log_convex() and self.is_incr(idx)) or
                          (arg.is_log_log_concave() and self.is_decr(idx))):
                      return False
              return True
          else:
              return False
function_tokens: def is_log_log_convex ( self ) -> bool : # Verifies DGP composition rule. if self . is_log_log_constant ( ) : return True elif self . is_atom_log_log_convex ( ) : for idx , arg in enumerate ( self . args ) : if not ( arg . is_log_log_affine ( ) or ( arg . is_log_log_convex ( ) and self . is_incr ( idx ) ) or ( arg . is_log_log_concave ( ) and self . is_decr ( idx ) ) ) : return False return True else : return False