suggest just checking against ``function`` and ``options``, but again, that makes assumptions about ``options``