Given that we have ineligible function catalog.lookup(..) may return null if function is ineligible. Resolves #1236