Generalize isJava8Available
Unit test for first prefab Java 8 API class