Add _is_bin to namespaced functions

Fixes #5336