has code flag