public static boolean isInspectionEnabled(GroovyFileBase file, Project project) {
    return getInspectionProfile(project).isToolEnabled(findDisplayKey(), file);
  }
public static boolean isInspectionEnabled(GroovyFileBase file, Project project)