code_master adds code value check helper method to Class