boolean (@NotNull IntentionActionWithFixAllOption action) { ModCommandAction unwrapped = action.asModCommandAction(); if (unwrapped == null || myPresentation == null || myPresentation.fixAllOption() == null) return false; return myPresentation.fixAllOption().belongsToMyFamily().test(unwrapped); }