def METHOD_NAME(string, to_str=False, blank_line=0, width=120):
  center_str = "{0}>>{1:40}<<{0}".format("=" * 30,
                                         string.center(40)).center(width)
  center_str += '\n' * blank_line
  if to_str:
    return center_str
  else:
    print(center_str)