style(eapi-bash): move externally accessible 'has' helper function

Makes more sense in depend.lib since isolated-functions.lib is only for
functions internal to pkgcore.