def METHOD_NAME(self, *args):
    if len(args) == 1:
        return self.bboard[args[0]]
    if len(args) == 2:
        return self.bboard.METHOD_NAME(args[0], args[1])
    raise ValueError("Pass keyword as argument")