Switched to directly check function exists (not just the file that it *should* live in)