public static boolean doesResourceExist(final String location) {
        try {
            val resource = getResourceFrom(location);
            return doesResourceExist(resource);
        } catch (final Exception e) {
            LOGGER.trace(e.getMessage());
        }
        return false;
    }
Does resource exist?

@param location the resource
@return true/false
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/ResourceUtils.java