Check for existence of optional argument.