Added public boolean hasPerformedAction to Vehicle