public static boolean ismetabolite(PathCaseNodeRole r) {
        return r == PathCaseNodeRole.SUBSTRATEORPRODUCT || r == PathCaseNodeRole.REGULATOR || r == PathCaseNodeRole.INHIBITOR || r == PathCaseNodeRole.ACTIVATOR || r == PathCaseNodeRole.COFACTOR || r == PathCaseNodeRole.COFACTORIN || r == PathCaseNodeRole.COFACTOROUT || r == PathCaseNodeRole.SUBSTRATEORPRODUCT_COMMON;
    }