def Check(self):
    """Assertion verification for options."""
    try:
      assert self.m0 >= 0, "margin0"
      assert self.m1 >= self.m0, "margin1"
      assert self.c0 >= 0, "cost0"
      assert self.c1 >= 0, "cost1"
      assert self.cb >= 0, "costb"
      assert self.ind >= 0, "indent"
      assert self.adj_comment >= 0, "adj_comment"
      assert self.adj_flow >= 0, "adj_flow"
      assert self.adj_call >= 0, "adj_call"
      assert self.adj_arg >= 0, "adj_arg"
      assert self.cpack >= 0, "cpack"
    except AssertionError as e:
      raise Error("Illegal option value for '%s'" % e.args[0])
dataset/ETHPy150Open google/rfmt/formatter/base.py/Options.Check/original