Revert "Need a way to check whether this API exists"

hmm, we can check whether the head file exists instead

This reverts commit 4d7d85640dd8e48166e4fd5dbf04aeb18a9e01c4.