Simplistic optional argument checker that just sees if the argument exists.

Technically doesn't handle Ruby's full range of optional argument definitions,
but handles the most likely.