@SuppressWarnings({"UnusedDeclaration"})
    public static boolean hasResourcePrefix(String resourcePath) {
        return resourcePath != null
                && (resourcePath.startsWith(CLASSPATH_PREFIX)
                || resourcePath.startsWith(URL_PREFIX) || resourcePath.startsWith(FILE_PREFIX));
    }
Returns {@code true} if the resource path is not null and starts with one of the recognized
resource prefixes ({@link #CLASSPATH_PREFIX CLASSPATH_PREFIX},
{@link #URL_PREFIX URL_PREFIX}, or {@link #FILE_PREFIX FILE_PREFIX}), {@code false} otherwise.

@param resourcePath the resource path to check
@return {@code true} if the resource path is not null and starts with one of the recognized
resource prefixes, {@code false} otherwise.
@since 0.9
lang/src/main/java/org/apache/shiro/lang/io/ResourceUtils.java