I think it would be better to use: `'fprime' in getargspec(fmin).args`