def METHOD_NAME(self, arg):
    if isinstance(arg, tuple):
        if len(arg) == 2:
            return self.__contains((arg[0], arg[1]))
        else:
            raise ValueError("expecting tuple (array name , report step number) or \
                              or report step number")
    elif isinstance(arg, int):
        return self.__has_report_step(arg)
    else:
        raise ValueError("expecting tuple (array name , report step number) or \
                          or report step number")