PERF: make all inference routines cpdef bint
 going to rebase after #14827 
## [Current coverage](https://codecov.io/gh/pandas-dev/pandas/pull/14925?src=pr) is 84.64% (diff: 100%)


> No coverage report found for **master** at 5faf32a.

> Powered by [Codecov](https://codecov.io?src=pr). Last update [5faf32a...eb07104](https://codecov.io/gh/pandas-dev/pandas/compare/5faf32a62b52912bc0c4a26622bfc3d72b5121ff...eb0710469ab035ec81f9b5a07506d3604a665b41?src=pr)