change to state.hasLabel(TYPE_LABEL_PREFIX+alias)