Graph after reading OSM must not be empty

When reading a OSM file, does graphhopper simply filter all ways that are tagged with highway or is there additional logic? It looks like it to me. I discovered the EncodingManager and the class AcceptWay with its accessMap seems to do something like that:

public static class AcceptWay {
        private Map<String, Access> accessMap;