protected boolean isPermitted(String p) {
        return getSubject() != null && getSubject().isPermitted(p);
    }
Base TagHandler for Tags that check for permissions.
support/jakarta-ee/src/main/java/org/apache/shiro/ee/faces/tags/PermissionTagHandler.java