def METHOD_NAME(self) -> bool:
    """Is the atom convex?
    """
    if u.scopes.dpp_scope_active():
        # dotsort is convex under DPP if W is parameter affine
        X = self.args[0]
        W = self.args[1]
        return X.is_constant() or is_param_affine(W)
    else:
        return True