```$profile_row['field_length'] == 2```  defines checkbox. This is how it is defined in profile field type class.