/** * Determines if the current platform is in the specified list of models. * * @param models the models * @return {@code true} if the current platform is in the list of models, or if the models are {@code null} or * empty */ public boolean matchesCurrentPlatform(List<OsModel> models) { return matches(platform, models); }