More reliable check for positional arguments