public boolean isEnabled() {
        ACL acl = Jenkins.getInstance().getAuthorizationStrategy().getRootACL();
        if (acl != null) {
            Authentication authentication = Jenkins.getAuthentication();
            assert authentication != null;
            for (Permission p : _getRequiredPermissions()) {
                if (!acl.hasPermission(authentication, p)) {
                    return false;
                }
            }
        }
        return true;
    }
public boolean isEnabled ( ) { ACL acl = Jenkins . getInstance ( ) . getAuthorizationStrategy ( ) . getRootACL ( ) ; if ( acl != null ) { Authentication authentication = Jenkins . getAuthentication ( ) ; assert authentication != null ; for ( Permission p : _getRequiredPermissions ( ) ) { if ( ! acl . hasPermission ( authentication , p ) ) { return false ; } } } return true ; }
Returns {@code true} if the current authentication can include this component in a bundle.

@return {@code true} if the current authentication can include this component in a bundle.