anchor.diff:  %%  Check if a record exists.  Set State.
   
   exist_record(Line, Name, St) ->
  -    case dict:is_key(Name, St#lint.records) of
  +    case is_map_key(Name, St#lint.records) of
           true -> used_record(Name, St);
           false -> add_error(Line, {undefined_record,Name}, St)
       end.
  
positive.code:     NA = {F,A},
      Usage = case Cs of
  		undefined -> Usage0;
  		_ -> Usage0#usage{calls=dict:append(Func, NA, Cs)}
  	    end,
      Anno = erl_anno:set_file(File, Line),
      St#lint{called=[{NA,Anno}|Cd], usage=Usage}.
  
negative.code:     end.
  
  check_record_types(Line, Name, Fields, SeenVars, St) ->
      case maps:find(Name, St#lint.records) of
          {ok,{_L,DefFields}} ->
  	    case lists:all(fun({type, _, field_type, _}) -> true;
  			      (_) -> false
  