Add isStarterType method to Parser.java